On Mon, May 25, 2015 at 9:40 PM, Gregg Caines <cai...@gmail.com> wrote: > Hey all, > > Does anyone have any experience hunting down causes of event-loop lag? I've > determined that our app is heavily affected by it (See the attached png > where I graph api response time in red against event-loop lag in blue), but > now I'm at a bit of a loss for tracking down the source(s). If I > understand the nature of the cause correctly, these will be spots in the > code that are cpu-intensive without relegating back to the event loop. Has > anyone got an easy way to hunt the cases down? > > Thanks! > > G
Our strong-agent[0] tool has a plethora of functionality for recording and debugging event loop stalls. It's what Percolate Studio[1] used to track down a huge but infrequent performance issue in Atmosphere[2] and Meteor[3]. (The issue turned out to be in Meteor core but Atmosphere was disproportionally affected by it.) You can find it on npm here[4]. If you have questions, I'll be happy to answer them. [0] https://strongloop.com/node-js/devops-tools/ [1] http://percolatestudio.com/ [2] https://atmospherejs.com/ [3] http://info.meteor.com/blog/meteor-083 [4] https://npmjs.org/package/strong-agent -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHQurc-ftO4HrPW17nF630hmP7tEzRUaY6Xe-Rs%3DrDW7NRQN2A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.