System design · Key technologies: the tools you will actually name

Blob storage, direct uploads, and CDNs

Photos, videos and files belong in object storage with only their metadata in your database, uploaded straight from the client with a signed URL, split into parts so a dropped connection costs one part instead of the whole file, and served through a CDN whose cache rules you design as carefully as the schema.

22 min read Full lesson in the app Patterns: presigned-url, multipart-upload, versioned-urls

What you'll be able to do

Before this: back-of-the-envelope, caching-and-stampedes

Log in to read the rest of this lesson

Photos, videos and files belong in object storage with only their metadata in your database, uploaded straight from the client with a signed URL, split into parts so a dropped connection costs one part instead of the whole file, and served through a CDN whose cache rules you design as carefully as the schema. This walkthrough runs about 22 minutes, with runnable code you can edit and re-run as you read. A new account gets 7 days of Pro free, no card required.

Log in to continue

The first module of every track is free to read on the web: see what's open in System design.