October 14, 2019

309 words 2 mins read

Scaling your Node.js API like a boss

Scaling your Node.js API like a boss

It's one thing to create a sample RESTful API using Node.js, but it's quite another to horizontally scale your architecture to hundreds of thousands of concurrent connections while trying to ensure redundancy and high availability. Volkan zelik shows what it takes to create real-life, scalable, highly available, and highly responsive Node.js applications.

Talk Title Scaling your Node.js API like a boss
Speakers Volkan Ozcelik (Cisco Systems)
Conference Fluent
Conf Tag The Web Platform in Practice
Location San Francisco, California
Date March 8-10, 2016
URL Talk Page
Slides Talk Slides
Video

It’s one thing to create a sample RESTful API using Node.js (maybe utilizing the cluster module to distribute the load), but it’s quite another to horizontally scale your architecture to hundreds of thousands of concurrent connections while trying to ensure redundancy and high availability. Knowing how to scale is important, but more important than that is knowing when to scale. Volkan Özçelik explores what it takes to create a real-life, scalable, highly available, and highly responsive Node.js application. Volkan will also explain how to store the application state in its own cluster and why it matters. Volkan outlines how to choose the container architecture for your (virtual) machines, how you can roll out updates to service without disrupting the users, and how you fail gracefully when things on a node go haywire. He also covers tracking down memory leaks and coming up with short-term (i.e., restarting your nodes when they become too beefy) and long-term (i.e., actually spotting where the leaks are and fixing them) solutions to address them. When you dive deeper and deeper into the rabbit hole, you soon realize that scalability is a tough job that requires careful planning and consideration. The bottom line is that designing any system to scale is a never-ending adventure, and there is no limit on how deep you can dive.

comments powered by Disqus