Performance Tuning Node.js Applications

Dan Shaw (NodeSource)
5:15pm–5:45pm Tuesday, 04/21/2015
Development tools
Location: Salon 12/13/14/15
Average rating: ***..
(3.40, 5 ratings)


Measure, Isolate and Adjust- repeat. At it’s most basic form, that is really all there is to performance tuning in any system, Node.js included. Although Node.js has nowhere near the tooling like a mature platform such as the JVM, the Node.js and V8 communities have created a rich set of resources and tools for engineers who want to take performance seriously.

These tools can enable any Node.js engineer to see performance gains, yet they are not created equal. Depending on the layer of the application you are tuning, the amount of time spent will not be proportiate to the impact you receive when compared to other tools built for different layers. This is why it is crucial to understand the available tools and what problems they are meant to solve. Treat performance as a first class citizen in a development workflow and apply the right amount of effort, with the right tool at the right time.

We will explore how to systematically break down an program that runs in Node.js, then iterate over a soup to nuts listing of mechanisms, tools and best practices to start making your code run faster. Along the way we will touch on the reasons why particular code patterns lead to slower code, and hopefully engineers can walk away with a better understand of Node.js and V8 in the process.


Woking knowledge of Node.js. Preferably audience members have a working productionalized Node.j application and need a comprehensive overview of available tools to take performance to the next level.

Photo of Dan Shaw

Dan Shaw


Dan Shaw is a co-founder of NodeSource and is dedicated to helping improve and expand the Node Community. He is a veteran of numerous Node.js startups, including Voxer, Spreecast and Storify. Dan has extensive experience building large-scale, realtime systems with Node.js and has been building production services using Node since v0.2. Dan is a frequent speaker at Node.js, JavaScript and Realtime conferences, the host of the NodeUp podcast and the organizer of events like International NodeBots Day and the NodeBots SF meetup. Prior to Node, Dan worked in large-scale government contracts for Defense, Health Care and Education.