| ISSUE 427/456 · COMPUTER SCIENCE |
~4 MIN |
FOUNDATION / COMPUTER SCIENCE · READING DATE 2027-12-02 · DECEMBER 2027 — SYSTEMS THINKING AND COSMIC SCALE
Why adding servers can arrive too late
START HERE
An online shop can run the same program on several computers so they share incoming work. Autoscaling is software that changes the number of running copies in response to measured demand. It must notice a change, decide what to do and wait for new copies to become useful.
|
/ WHY NOW
A sudden holiday rush can overwhelm a shop even when automatic scaling is enabled. The important question is not just how many computers it can eventually start, but how its measurement and response interact with the rush.
|
/ THE IDEA
The controller compares a measured value with a target. A controller is the decision-making part that repeatedly observes the system and changes an input. If work is evenly spread and each copy is equally capable, doubling the copies roughly halves the load per copy. That is feedback: the result of the previous decision becomes the next measurement. Starting a computer takes time, however. Measurements may also describe the recent past. Repeatedly acting on old high readings can add unnecessary copies, while removing copies too eagerly can recreate the overload.
THE FORMAL IDEA
desired copies = ceil(current copies × measured load / target load)
| Load and target must be comparable values, such as average percentage use of the allocated processing capacity. | | ceil means round upward to a whole copy. This proportional rule resembles Kubernetes autoscaling; real policies include limits, tolerances and stabilisation. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
There are 4 copies averaging 80% use; the target is 40%. Desired copies = ceil(4 × 80/40) = 8. With unchanged, evenly shared work, 8 ready copies would average about 40%. Change measured use to 60%: ceil(4 × 60/40) = 6 copies.
|
The second demand level needs fewer copies under the same assumptions. But a decision for eight does not make eight available instantly. Requests arriving during startup still need existing spare capacity, a bounded wait or an explicit refusal.
/ SO WHAT?
For a practical capacity conversation, ask what is measured, how old that measurement is and how long a fresh copy needs before serving real requests. These questions matter for AI workers as well as web shops: loading a large model can make readiness much slower than merely starting a process.
ONE CAVEAT |
| More copies cannot fix every bottleneck. A shared database or external quota may remain unchanged, and averages can hide one overloaded worker. The arithmetic assumes demand is divisible and the measured resource actually limits performance. |
KEEP THIS
When demand changes faster than measurement plus startup, autoscaling needs spare capacity or load protection to bridge the delay.
|
NEXT: Why a bigger version is not the same design
|