Course contentsShow
← System Design
Lesson 1589 of 1,91939. Real-World System: Image and Video HostingFree lesson

Storage Tiering Strategy

Design multi-tier storage using hot, warm, and cold tiers based on access patterns to optimize costs.

Storage Tiering Strategy

You'll learn how to optimize storage costs for image and video hosting by intelligently distributing content across hot, warm, and cold storage tiers based on access patterns.

The Core Idea

Not all stored content is accessed equally. A newly uploaded video might get thousands of views in the first week, then fade into obscurity. Storing all content on high-performance (expensive) storage is wasteful. Storage tiering means automatically moving data between different storage classes based on how frequently it's accessed, balancing performance and cost.

The Three Tiers

Hot storage is your fastest, most expensive tier—think SSDs optimized for low latency. Use it for recently uploaded content and frequently accessed media. Access times measure in milliseconds.

Warm storage offers moderate performance at lower cost—standard magnetic drives or infrequent-access object storage classes. Content accessed occasionally (a few times per month) belongs here. Retrieval takes slightly longer but costs 50-70% less.

Cold storage (like Amazon S3 Glacier or Azure Archive) is cheapest but slowest. Perfect for compliance archives, user backups, or content accessed less than once per quarter. Retrieval might take minutes to hours, but costs drop by 80-90%.

The Strategy in Practice

When a user uploads a video, it lands in hot storage. After 30 days, if access patterns show declining views, automated policies migrate it to warm. After 180 days of near-zero access, it moves to cold.

Think of it like a library: bestsellers stay at the front desk (hot), older books move to regular shelves (warm), and archives go to off-site storage (cold).

Monitor access metrics continuously. If a cold video suddenly goes viral, automatically promote it back to hot storage.

Key Takeaway: Storage tiering cuts costs dramatically by matching storage class to access frequency—keep hot data fast and accessible while archiving cold data cheaply, with automated policies managing migrations based on real usage patterns.