Skip to content

Loading…

process.send() stops to work under heavy load #3413

Closed
seriousManual opened this Issue · 2 comments

3 participants

@seriousManual

When under heavy load (5000-7000req/s) messages that are sent by workers don't reach the master instance anymore.

Tested on Windows 7 x64:
type: Windows_NT
platform: win32
arch: ia32
Node: v0.6.19

As stated here there is a hard limit that seems to cause the problem because especially on windows the message queue isnt flushed as fast as on linux based systems.

Samplecode:
https://gist.github.com/2909389

@piscisaureus

Yes, I could reproduce the issue. A fix has been landed in cfa2869 which avoids dropping messages. However there still is no good story for throttling send() calls at the moment.

@trevnorris

seems we're past this point.

@trevnorris trevnorris closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.