11. Object / Blob Storage
1
The picture to keep in your head2
11.1 What's the difference between block, file and object storage?3
11.2 Why not just store files in the database?4
11.3 What are buckets, keys and metadata?5
11.4 How do uploads work with presigned URLs?6
11.5 How do you upload very large files reliably?7
11.6 How does object storage avoid losing files?8
11.7 What are storage classes and lifecycle rules?9
11.8 How should files be served to users?10
11.9 What happens after a file is uploaded?11
Memory card and where the analogy breaks12
Practice: five levels13
Interview questions14
Solutions15
Sources16
Code lab11. Object / Blob Storage
Sources
3 min read+10 XP
Source notes
- Amazon S3 multipart limits (5 MiB to 5 GiB per part, up to 10,000 parts, maximum object size 48.8 TiB) and the recommendation to use multipart for objects of about 100 MB and larger: AWS documentation, "Amazon S3 multipart upload limits" (https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html), checked 2026-10-08.
- S3 durability design target (99.999999999%) and storage across multiple Availability Zones for S3 Standard: AWS S3 documentation and product pages.
- S3 strong read-after-write consistency since December 2020: AWS announcement, "Amazon S3 now delivers strong read-after-write consistency", December 2020.
- Presigned URLs signed with Signature Version 4 can be valid for at most 7 days: AWS S3 documentation on presigned URLs.
- Storage classes: AWS S3 and Google Cloud Storage documentation (class names as listed; prices and minimum durations change, check current pages).
- The 10 + 4 erasure-coding layout is an illustrative example of the technique, not a specific provider's configuration.
- Level 2 numbers are illustrative assumptions; arithmetic computed 2026-10-08.
- Level 3 and Level 4 code: tested 2026-10-08 (
code/ch11_blob_storage.py, all checks pass).