Question:
Your company has developed a web application that experiences intermittent high traffic volumes. However, the company has noticed that during the sudden traffic spikes, the performance of their application temporarily degrades before it starts to stabilize. The degradation is especially apparent when the application hasn't received any significant traffic for a while. How can you mitigate this performance degradation issue?
Bonus question: You are running on a Standard plan, do you need to change it in order to implement your solution?
Answer:
The problem your company experiences is called cold boot. In order to mitigate it, you need Automatic Scaling with pre-warmed/always ready instances. This requires at least PremiumV2 plan.
Azure Manual Scaling lacks real-time adjustment capabilities, making it inefficient for sudden traffic spikes.
Although Azure Autoscale scales based on traffic, it can still experience "cold starts" during sudden traffic spikes.
Azure Application Insights Live Metrics: This is a monitoring tool, not a scaling solution.