node.js Event Loop Diagnostics

后端 未结 2 1733
北海茫月
北海茫月 2020-12-23 15:28

Is it possible to peek at the event loop for diagnostics?

I would like to know how many events are currently waiting for execution (excluding setTimeout/interval).

2条回答
  •  悲&欢浪女
    2020-12-23 15:52

    NodeFly's agent monitors overall Node.js performance including the Event Loop. You can read a couple of blog entries taling about this functionality:

    http://blog.nodefly.com/post/41119237822/monitoring-the-event-loop-in-node-js

    http://blog.nodefly.com/post/41201793716/just-another-friday-night-chat-scaling-node-js-and

    You can find and try out the agent here:

    http://www.nodefly.com

提交回复
热议问题