Engineering Decisions · Senior · Question 10 of 14

A flash sale will push traffic past what the database can take, and it can't scale up in minutes. Checkout matters most, while browsing can degrade. What do you prepare?

Show the answer

Correct answer: Priority load shedding that protects checkout

Explanation

Shedding low-priority requests keeps the bottleneck healthy so the most valuable path still works. Autoscaling fits load limited by app servers, but more instances only push harder on the database here. A queue fits work that can wait, like reports, while users on a live page would simply time out in it.

Further reading

Problem with a question

Engineering Decisions · Senior · question 10

Test yourself

Take the Engineering Decisions · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz