S1 · Foundations
File-Based Storage
Unstructured Blobs

Overview
When your data is files—images, documents, videos, backups—file-based storage is your friend. Simple concept: store bytes, retrieve bytes.
When to use
- Media assets (images, video, audio)
- Document storage
- Backup and archival
- Static website hosting
- Large binary objects
Quick assessment
- Is your data primarily binary/unstructured?
- Do you need unlimited scale for storage?
- Is simple retrieval (by key/path) sufficient?
In practice
How it works
Make it work
Choose stable keys and access controls. Define versioning, retention, deletion, and delivery rules before the object collection grows.
The trade-off
Object storage is not a relational query engine. Retention and delivery costs need attention.
Do we need whole files or queries within the data?
Key patterns
- Object keys as paths (/bucket/folder/file)
- Metadata attached to objects
- Lifecycle policies for archival/deletion
- CDN integration for delivery
Examples: AWS S3, Azure Blob Storage, Google Cloud Storage, MinIO
Counter-patterns
- Using for data that needs querying
- Ignoring lifecycle policies (costs grow unbounded)
- Not considering CDN for delivery
Reality check
Virtually unlimited scale and cost-effective for large volumes, but no query capabilities and limited relationship modeling.
NFR profile
- security
- 3/5
- usability
- 3/5
- performance
- 3/5
- reliability
- 4/5
- scalability
- 5/5
- testability
- 3/5
- availability
- 4/5
- extensibility
- 2/5
- maintainability
- 4/5