◦ Timers: setTimeout/setInterval ◦ I/O: most of your callbacks ◦ Poll: looks for new events to schedule (ej. new HTTP connection) ◦ Check: setImmediate ◦ Close: server.on(‘close’, cb) • Runs our JS code and delegates operations to give us “async”
npm --save by default ) • Hard to find which part of the code actually caused the delay • Complements: graphs (cpu), heapdumps (memory) & custom metrics (apm)
RateLimitMap when new request is received • Listen for “onPreResponse” to be triggered • Remove “request.id” from RateLimitMap when request is processed