Scaling horizontally
Adding more regular machines to spread the work. There's no ceiling, and if one goes down the others remain.
Example
Going from 2 servers with 8 GB to 6 servers with 8 GB: three times the capacity, and if one fails 5 remain.
Test yourself: Scaling horizontally
Scaling
Scaling vertically means adding more servers.
It's the opposite: vertical is swapping 1 server for a more powerful one, say from 8 to 32 CPUs. Adding servers is horizontal.
Scaling
When you add servers, the database gets more ___ at once.
If each server opens 50 connections, going from 2 to 10 servers takes the database from 100 to 500 connections.
SQL or NoSQL
NoSQL databases usually scale ___: by adding servers.
Going from 3 to 30 ordinary servers spreads the data over 10 times more machines. SQL usually scales vertically, with a bigger server.
0/3
â–¶ Play