You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use asynchronous context tracking in several of my Node.js projects, but the performance impact is always disappointing. The pull request "lib: rewrite AsyncLocalStorage without async_hooks" (#48528) should solve this problem, and was finally merged and released in Node.js 22.7.0 in August.
I couldn't find anything on this topic and wonder if no one is using AsyncLocalStorage or cares for the performance improvement. At least the test case in a small project of mine are working fine in both implementations.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
I use asynchronous context tracking in several of my Node.js projects, but the performance impact is always disappointing. The pull request "lib: rewrite AsyncLocalStorage without async_hooks" (#48528) should solve this problem, and was finally merged and released in Node.js 22.7.0 in August.
The rework is currently hidden behind "--experimental-async-context-frame" (https://nodejs.org/docs/v22.11.0/api/cli.html#--experimental-async-context-frame).
Has anyone tried it and can report back?
I couldn't find anything on this topic and wonder if no one is using AsyncLocalStorage or cares for the performance improvement. At least the test case in a small project of mine are working fine in both implementations.
Beta Was this translation helpful? Give feedback.
All reactions