Running Express in production
6 posts · 24 min, best read in order
Process setup, health checks, graceful shutdown, logging and monitoring for an Express app that has to stay up.
- 1 Best Practices for Production setup of Nodejs Application: Part I 5 minBest practices to optimize performance and ensure reliability Express apps in production. Explore DevOps strategies to handle loads and maintain stability
- 2 Best Practices for Production setup of Nodejs Application: Part II 5 minBest practices for optimizing performance and reliability during development. Learn to enhance resource use, minimize response times, ensure fault tolerance
- 3 Health Checks and Graceful Shutdown of Expressjs App using Lightship 4 minExpressjs is a fast, minimalist Node.js framework. Learn why graceful shutdowns and health checks are essential for deploying production applications.
- 4 Setup logging with Pino and express-http-context in Expressjs 4 minEffective logging is crucial for debugging and performance. Choose the right Nodejs logging framework like Pino or Winston for clear, useful logs.
- 5 Why Pino with Logrotate is the Best for Managing Logs in Nodejs Apps 3 minLog rotation is crucial for managing large log files. Helps in troubleshooting, tracking usage and improving performance by freeing up disk space
- 6 Monitoring Tips for Nodejs Applications 3 minLearn essential nodejs application monitoring strategies. Discover how to monitor nodejs apps for optimal performance, track response times & prevent issues.