Do Not Thrash the Node.js Event Loop

Tuesday, 10 October, 2023 - 16:0016:40

Matteo Collina, Platformatic


Deploying Node.js at scale is an art mastered by few. The most common problem is an exhaustion of resources that allows the application to denial of service itself. The result is Node.js systems that are massively overprovisioned, wasting enormous amounts of computing and memory - keeping most of them idle. In this talk, we will do some math, discover hard truths, and implement a fix.

Matteo Collina, Platformatic

Matteo is the Co-Founder and CTO of with the goal to remove all friction from backend development. He is also a prolific Open Source author in the JavaScript ecosystem and modules he maintain are downloaded more than 17 billion times a year. Previously he was Chief Software Architect at NearForm, the best professional services company in the JavaScript ecosystem. In 2014, he defended his Ph.D. thesis titled "Application Platforms for the Internet of Things". Matteo is a member of the Node.js Technical Steering Committee focusing on streams, diagnostics and http. He is also the author of the fast logger Pino and of the Fastify web framework. Matteo is an renowed international speaker after more than 60 conferences, including OpenJS World, Node.js Interactive,, NodeSummit, JSConf.Asia, WebRebels, and JsDay just to name a few. He is also co-author of the book "Accelerating Server-Side Development with Fastify" edited by Packt. In the summer he loves sailing the Sirocco.

@conference {292129,
author = {Matteo Collina},
title = {Do Not Thrash the Node.js Event Loop},
year = {2023},
address = {Dublin},
publisher = {USENIX Association},
month = oct

Presentation Video