December 2014
Beginner
308 pages
7h 10m
English
CHAPTER 13
![]()
Deployment and Scalability
It’s better to have infinite scalability and not need it than to need infinite scalability and not have it.
—Andrew Clay Shafer
We will start this chapter by looking at ways to ensure the stability of our web server. The objective here is to automatically re-spawn our server so that we continue responding to web requests even if there were some unhandled errors that caused our Node.js server to crash.
Next, we will discuss how we can easily scale our application to utilize all the CPU cores of a multi-core single machine. We will follow this with a guide to deploying our application on Amazon Web Services ...