Scale LineLesson
Split app and database tiers
Why a web API and a database on one server slow each other down, what moving the database to its own machine buys — and what the network hop costs.
10 minEasyStation: Split app and database tiersFree with an account
Sign in to start. It’s free, and your progress follows you to any device.
- Latency & percentiles
- Server capacity & scaling up
- Split app and database tiers
- Load balancer
- Horizontal scaling with a stateless tier
What you'll be able to do
- 1Size app and database servers separately for a given mix of work.
- 2Predict the latency added by putting the database across the network.
Inside the lesson
- steps
- 7
- questions
- 8
- simulations
- 2
You guess first, then run the system and see if you were right.
More on the Scale Line
- Latency & percentilesOpen8 min
- Server capacity & scaling upFree with an account10 min
- Load balancerFree with an account10 min
- Horizontal scaling with a stateless tierFree with an account10 min
- Cache-asideFree with an account10 min
- Object storage for user filesMembers10 min
- A CDN for the files everyone wantsMembers12 min
- Read replicas for a read-heavy appMembers11 min