O'Reilly logo

Deploying Node.js by Sandro Pasquali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we engaged with one of the most important aspects of deployment—monitoring running processes. Starting at the most basic and necessary level—catching errors—you learned how to trap errors at the individual process level and across processes. After discussing techniques to log errors with both UDP and third-party tools, we looked at how to build remote process monitors using Node's REPL, leading to a deeper discussion on how to do extensive application profiling and memory analysis. Finally, we looked at how to deploy the PM2 process runner in an effort to manage processes and visualize their activity. We also looked at how to use the cloud-based Nodetime and New Relic services to monitor your applications.

Direct monitoring ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required