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

Namespaced chain-local storage #8

Open
naggingant opened this issue May 15, 2020 · 1 comment
Open

Namespaced chain-local storage #8

naggingant opened this issue May 15, 2020 · 1 comment

Comments

@naggingant
Copy link
Member

We need to include (and provide an interface to) an async local storage implementation, in order to support distributed tracing and any related functionality.

In newest versions of Node it would be AsyncLocalStorage, and for others a CLS fork like cls-hooked should probably do.

@naggingant
Copy link
Member Author

We could possibly suffer from amqplib depending on an older version of bluebird which does not support async_hooks.
As our driver is wrapping some core methods by global.Promise, it "would" be alright above the boundary.
To be discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant