Hey all So I'm looking for the best way to detect how blocked the event loop is.
What I'm thinking is to setTimeout say every 1sec and see what kind of delay there is. You should get 1000ms but really 1001-1005ms on a clean event loop. Would it be just to say if I'm getting 1050 to even 2000ms+ on the timeout that the event loop is getting blocked. I'm building a basic "load balancing" over different processes running the same app. I'm using bounce as the proxy and i want to know which process i should route the request, the least congested process. Thanks -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
