Technical review of the book Deploying Node.js by Sandro Pasquali
I was a technical reviewer for the book Deploying Node.js:
This was done via PacktPub, and I must say that this was a great learning experience and I'm glad that I was able to help make this book better. From my experience with the project coordinator Mary Alex I have nothing but good words for them.
Finally, my name in a print book 🙂
This book covers a lot of ground like how to
- optimize your code for production
- use Docker and Vagrant
- deploy to Heroku, OpenShift and DigitalOcean
- use Nginx for load balancing
- use Redis
- use Gulp, Browserify, npm, Mocha, Chai and Sinon
- manage deployments with Git, Jenkins and Ansible
Here is the short summary of each chapter:
- Chapter 1, Appreciating Node
- what is Node.js and where it excels
- Chapter 2, Installing and Virtualizing Node Servers
- teaches you how to create a basic Node.js application and deploy it to Heroku, OpenShift and DigitalOcean
- Chapter 3, Scaling Node
- shows vertical and horizontal scaling techniques among which how to use Nginx for load balancing
- Chapter 4, Managing Memory and Space
- shows the advantages of microservices
- shows how to use Redis
- Chapter 5, Monitoring Applications
- shows how to effectively monitor your application once it has been deployed
- Chapter 6, Building and Testing
- explains how to create a build workflow for your application with full examples of using Gulp, Browserify, and npm
- shows how to do testing with Mocha, mocking with Sinon, and using PhantomJS for headless browser testing
- Chapter 7, Deploying and Maintaining
- shows how to set up a virtualized development environment and manage deployments with Git, Jenkins and Ansible
As said, this book covers a lot of topics and, in my opinion, it is not suited for beginners in the field, but for those who have some experience with Node.js and other tools. However, it's great that a simple introduction is given to all these topics so that one who is interested more in some particular section, can easily build upon the knowledge gained from the book. The author clearly shows how a Node.js app should be built, tested, monitored, deployed, scaled and maintained.
This book was published in May this year, but I didn't want to write the review before, so that it wouldn't seem to be a biased one. Since then I worked as a technical reviewer on two of their Ionic products (one book and one short video), about which I'll post when they'll be officially published.
Anyways, I hope this review will help nudge you in taking this book into consideration if you're looking for how to deploy your Node.js applications.
— Nikola Brežnjak (@HitmanHR) December 28, 2015