Skip to content
‹ 30-Day Drill

Day 18: When Adding Servers Automatically Makes Things Worse

Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.

Scenario

Interviewer Traffic jumps and responses slow down. The system reacts by starting more servers on its own, and then becomes less stable, not more. Why? And what would you measure, instead of processor use, to decide when to add servers?

In plain words

Many systems are set up to add servers by themselves when they get busy, and remove them when it is quiet. Usually this helps.

The question describes a case where it backfires. You are asked to explain how more servers can hurt, and to suggest a better signal for when to add them. Processor use is the usual signal, and the question hints that it is a poor one here.

Words you need

WordWhat it means
AutoscalingA rule that adds or removes servers automatically, based on a measurement such as processor use.
BottleneckThe one part of a system that limits how much the whole can do.
DependencySomething a service needs in order to answer, such as a database or another service.
Cold startThe first minutes of a new server's life, when it is slower because nothing is loaded or connected yet.
QueueRequests that have arrived and are waiting for a free worker.

Your answer

2:00

Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.

0 / 20,000 characters · Not saved
Sign in to save