Scale LineLesson
Object storage for user files
Keep photos and videos in a bucket every server shares — and let clients fetch them from it directly, so the web servers only do the work only they can do.
10 minEasyStation: Object storageMembers lesson
Membership isn’t open yet. The free lessons are open — 16 of them, including the whole first leg of the Scale Line.
- Cache-aside
- Launch day
- Object storage
- CDN (content delivery network)
- Read replicas
What you'll be able to do
- 1Choose object storage over the database or a server's local disk for user-uploaded files.
- 2Explain why uploads saved on one web server's disk break a horizontally scaled tier.
- 3Predict the load on the app servers when clients fetch files straight from storage instead of through the app.
Inside the lesson
- steps
- 9
- questions
- 9
- 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
- Split app and database tiersFree 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
- A CDN for the files everyone wantsMembers12 min
- Read replicas for a read-heavy appMembers11 min