Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore a simpler/more performed way for context propagation #1423

Closed
raymondfeng opened this issue Jun 1, 2015 · 3 comments
Closed

Explore a simpler/more performed way for context propagation #1423

raymondfeng opened this issue Jun 1, 2015 · 3 comments
Labels

Comments

@raymondfeng
Copy link
Member

At the moment, LoopBack uses https://github.com/othiym23/node-continuation-local-storage for implicit context propagation across the async invocation paths. The CLS module has some issues:

  1. It adds a lot of overhead
  2. Some of the drivers (especially the ones with connection pooling) are not friendly with CLS

We should explore a simpler/more performed way for context propagation. One idea is to use the options argument which is now supported for all CRUD operations. strong-remoting can introduce a notation to express the need in remoting metadata to receive the context.

@seriousben
Copy link
Contributor

👍

@ritch
Copy link
Member

ritch commented Jul 1, 2015

Here is my proposal: #1495

@bajtos
Copy link
Member

bajtos commented Jan 9, 2017

Closing in favour of #1495.

@bajtos bajtos closed this as completed Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants