-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
Fixed "Maximum call stack size exceeded" #311
Conversation
Reported in moscajs#193 This could be reproduced using benchmark/server.js, benchmark/throughputCounter.js and benchmark/bombing.js Once all three processes are up, stay a while and SIGINT the throughtputCounter.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of the key things to get a good performance out of Node.js is to not use setImmediate
in this manner. Can we avoid that?
Yes, i know the impact of |
An hacky but effective way to do that is to maintain a |
can do, what is the best value of the max |
Try various numbers until your test pass. |
@mcollina we got some interesting result. Using no
Using
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Attempt to fix "Maximum call stack size exceeded" …
Reported in #193
This could be reproduced using benchmark/server.js, benchmark/throughputCounter.js and benchmark/bombing.js
Once all three processes are up, stay a while and SIGINT the throughtputCounter.js