Video details

The memory footprint of node modules

NodeJS
11.05.2017 at NodeConfEU
English

Kilkenny

David Martin (Red Hat)

Node modules are ubiquitous in Node applications. Requiring a node module in an application loads it into memory, even if its not used. Maybe only parts of the module are used. What happens if you need to scale an application? How much can you scale before you reach physical memory limits? In this talk, learn how to identify the memory footprint of node modules, and how it can be reduced through module choice, sub-modules and rewriting module parts.
David is a Senior Software Engineer at Red Hat. He was heavily involved with the FeedHenry mobile startup from the early days through to acquisition by Red Hat in 2014. His passion is in testing, performance and simplifying code. He has been developing with Node.js since version 0.4.