Why You Should Start Profiling Your Application on Production
Let’s start with a common situation. You’ve just created a new application in node.js. The application uses some SQL database, redis for cache, Kafka as a broker, and many many other useful things. You are ready to deploy your masterpiece on production, so you choose your host provider, set up a domain, and finally - deploy the application. Everything works fine so far. But after a few days, you have calls and emails from your clients. The application has started to work slower and slower, you are taking a look at your infrastructure metrics and you catch memory and CPU spikes, but when you take a look at APM you see no usual spikes in requests, everything looks the same as yesterday. At this point, you are blind. ...