Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maturity

goldbergyoni opened this issue · comments

For a developer who intends to use cls in production, how would you define the current maturity and reliability?

bump ;)

Not all production apps are the same... ;) Also, the real reliability/maturity question is async_hooks, which is still considered experimental.

That said, I know of some that do use it in production, but you have to understand async_hook's limits. For example, see #23 as it is a good example of user-land queueing where cls will not cover without monkey-patching the queueing code.

Regardless, my suggestion would be to implement many tests, especially tests that can simulate a heavy load with multiple contending contexts. Then let the tests give you your comfort for production.