Chapter 10. Deploying Node applications and maintaining uptime
This chapter covers
- Choosing where to host your Node application
- Deploying a typical application
- Maintaining uptime and maximizing performance
Developing a web application is one thing, but putting it into production is another. For every web technology, tips and tricks are available that can increase stability and maximize performance, and Node is no different. In this chapter, you’ll get an overview of how to choose the right deployment environment for your application, and you’ll also learn about how to maintain uptime.
The following section outlines the main types of environments you’ll deploy to. Then you’ll look at ways to maintain high uptimes.
The web applications you’ve developed in this book use a Node-based HTTP server. A browser can talk to your application without a dedicated HTTP server such as Apache or Nginx. It’s possible to sit a server such as Nginx in front of your application, however, so Node can often be hosted anywhere you’ve previously been able to run a web server.