Rean System

Vertical vs horizontal scaling

AI voice

Scaling · Explained

Your app is getting slow. Too many users for one server. There are two fixes: a bigger box, or more boxes.

7 steps · use ← → to move

One box, too many users

server: a computer that runs your app and answers requests

Every time someone opens a page, their browser sends a request to your server. Each request costs a little CPU, the part of the computer that does the work.

When the CPU is full, new requests wait in line. Pages get slow, and some requests give up and time out. and watch the meter on the server's plinth.

FIG 1 · SCALING BENCHLBRACKSERVERBREDISCD
RequestsLoad balancerOverloaded or downLogin session