Question 1
A retail company is launching a flash sale event expecting a 50x increase in traffic for a 4-hour window. The application currently runs on Standard-2x dynos in the Common Runtime. The architecture team needs to ensure the application remains responsive during the surge while minimizing costs after the event. Which scaling strategy provides the most reliability for this specific scenario?
Answer and explanation
Correct answer: A
For high-traffic events, upgrading to Performance dynos is recommended because they run on dedicated hardware with consistent performance. The Heroku Autoscaler is specifically available for Performance-tier dynos and can automatically scale the dyno count up during the spike and down afterwards based on response latency, balancing reliability and cost.