Learn how to build, test, deploy, monitor, and maintain your Node.js applications at scale
Node.js is a popular choice for teams that need to design, build, test, deploy, maintain, and monitor large-scale distributed systems. Starting with a detailed overview of the Node.js architecture, this book covers topics that will help in application development, testing, deployment, and maintenance.
You will learn about concurrency, event loops, callbacks and streams. Furthermore, step-by-step instructions on deploying applications to providers such as DigitalOcean and Heroku will be provided, including information on setting up load balancers and proxies. Message queues and other techniques for managing state and session data at scale will also be covered.
A series of examples on deploying your Node.js applications in production environments are provided, including a discussion on setting up continuous deployment and integration for your team. Popular tools for testing, deploying, building, and monitoring Node.js applications are covered, helping you get up and running quickly.
What You Will Learn
Learn the strengths of Node.js and how to optimize your code to make it ready for deployment into production
Use Docker and Vagrant to create many virtual instances of your Node.js applications
Deploy Node.js repositories to the cloud using Heroku, OpenShift, and DigitalOcean
Utilize native Node.js modules, or Nginx, to load balance your applications
Optimize your Node runtime by tweaking V8, managing memory intelligently, and using Redis to manage state data
Discover how to use Gulp, Browserify, npm, Mocha, Chai, Sinon, and other tools to simplify your build/test/release process
Manage your production deployments with Git, Jenkins, and Ansible
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.