StackGrab

Chapter 1 of 4

Scaling up

One way to handle more traffic is to give a single machine more power: more , more memory, faster disks. This is , or “scaling up”. It is the simplest option, because your application still runs on one : there is no new routing to configure and no need to split work between machines. For a small service it is often the right first move.

The catch is that it runs out. There is always a largest machine you can buy, and beyond that you cannot add capacity no matter how much you pay. The lab’s illustrative table shows a second catch: at the high end, price per unit of capacity tends to rise. A small machine offers 250 requests per second for $50 a month, while the largest offers 1500 for $700 — more capacity, but a worse deal per . And because everything still runs on one box, that box is a : if it stops, the service stops.

Chapter 1: Scaling up