Backend Performance Best Practices: Running and Monitoring Express.js in Production

Written by adnanrahic | Published 2020/05/01
Tech Story Tags: nodejs | javascript | web-development | web-performance | best-practices | developer-best-practice | expressjs | coding

TLDR Dev/Avocado is co-founder of Sematext.com and co-Founder at Bookvar.co.co. He says Express.js applications need to do four things well:Ensure minimal downtime.Increase developer productivity by minimizing time spent on troubleshooting and debugging. Set NODE_EN=production is a few well known best practices you should adhere to. Set the environment variable to production three times faster when running your application. Use the cluster module, PM2, Nginx and Redis to boost the performance of your application. Add structured logging and using metrics.via the TL;DR App

no story

Written by adnanrahic | Head of DevRel @ bindplane.com. Book/Course Author. Failed startup founder and ex-freeCodeCamp local leader.
Published by HackerNoon on 2020/05/01