Storage Tiering for Large AI Models: Architecture Design and an Engineering Practice Guide
This guide examines storage tiering architecture for AI infrastructure in the era of large models. It explains why a single storage medium cannot satisfy the conflicting demands of training (reading TB-to-PB datasets at stable aggregate bandwidth) and inference (accessing weights and KV Cache within millisecond latency budgets), then breaks down a six-tier storage model that spans GPU VRAM, CPU memory, high-speed flash, shared storage, object storage, and archival media. Drawing on the cost-capacity-performance trade-off and an Amdahl's-law perspective, it covers layered data loading and checkpointing for training, tiered KV Cache management and weight loading for inference, hot/cold tiering and lifecycle rules for data lakes, and a capacity and cost model. Readers will find design principles, illustrative Python code, an engineering checklist, and common pitfalls to avoid when building tiered storage.
1. Introduction: From the Compute Arms Race to Storage Tiering
Large model technology is evolving rapidly. The industry broadly agrees that leading teams share a few traits: strong fundamentals, mature productization, and fast iteration. But on the frontier of model capability, opinions diverge sharply on how large the gap between teams actually is, and how long it will take to fully close. Some expect it to take several more years to reach the frontier; others believe the gap is narrowing quickly. This kind of disagreement suggests that leaders’ technical roadmaps are often one to two generations ahead, and that followers must close the gap on compute, data, talent, and engineering efficiency at the same time.
Meanwhile, a different view has emerged within the storage industry: storage demand is moving from “single-dimension capacity expansion” into a “tiering era.” What drives this shift is the two seemingly contradictory demands that AI workloads place on storage:
- Training side: the ability to read TB- or even PB-scale data within an acceptable time window, while maintaining stable aggregate bandwidth under large-scale parallelism.
- Inference side: the ability to read and write weights and KV Cache within a millisecond-scale latency budget, while minimizing VRAM usage and the cost per token.
Relying on a single medium means either paying a prohibitive price or accepting unusable latency. The sensible approach is to build a tiered storage system that lets data “live according to its temperature and flow on demand.” This article does not discuss specific products; it breaks down the design principles and engineering practices behind tiered storage.
2. The Essence of Tiered Storage: The Impossible Triangle of Cost, Capacity, and Performance
In any storage system design, unit capacity cost, total capacity, and access performance are hard to optimize simultaneously:
- Media with larger capacity and lower unit cost (such as hard disk drives, tape, and archival object storage) tend to be slower to access and more cumbersome to retrieve.
- Media that is faster (such as GPU VRAM and CPU memory) tends to have higher unit cost and smaller scalable capacity.
The idea behind tiered storage is to accept this constraint and assign data to different tiers according to access patterns: a small amount of hot data goes to the most expensive tier, while a large amount of cold data sinks to the cheapest tier. Through caching, prefetching, and migration, the system ensures that the vast majority of requests hit the upper tiers.
We can borrow an Amdahl’s-law perspective from the caching domain: the overall speedup depends on the proportion of the tierable portion and the performance gap between tiers.
- If a component is accelerated to 1/k of its original time, the ratio of new to old total runtime is (1−p) + p/k, where p is that component’s share of the total time.
- The closer p is to 1, the more pronounced the benefit of tiering.
- The larger k is (the greater the gap between the high and low tiers), the higher the value of a hit in the upper tier.
Applied to AI infrastructure, this means that before evaluating any tiering scheme, you should first answer three questions:
- Which operation consumes most of the time or cost?
- Can this portion of the data be accelerated?
- How much can the overall system improve once it is accelerated?
3. The Full Storage Tier Landscape: From VRAM to Archive
3.1 Six Tiers and Their Latency Orders of Magnitude
The storage system for AI infrastructure can be roughly divided into six tiers. The latency and cost columns in the table below only reflect order-of-magnitude differences, used to illustrate the relative relationships between tiers; actual values vary greatly with hardware models, network topology, and workload, and should be validated by measurement.
| Tier | Typical medium | Access latency (order of magnitude) | Relative unit cost | Typical capacity | Typical use |
|---|---|---|---|---|---|
| L1 VRAM tier | GPU HBM/GDDR | Hundreds of nanoseconds | Highest | Several GB to over a hundred GB per card | Weight shards, activations, hot KV Cache |
| L2 Memory tier | CPU DRAM | Hundreds of nanoseconds | High | Hundreds of GB to several TB | Data prefetch buffer, KV Cache spillover tier, parameter offloading |
| L3 High-speed flash tier | Local NVMe SSD, memory expansion devices | Microseconds to hundreds of microseconds | Medium | Hundreds of GB to several TB | Spilled KV Cache, optimizer states, checkpoint cache |
| L4 Shared storage tier | Parallel file systems, distributed block storage | Hundreds of microseconds to milliseconds | Medium-low | TB to PB scale | Training datasets, distributed checkpoints, multi-node sharing |
| L5 Object storage tier | Standard/infrequent/archive classes | Milliseconds to minutes (depending on retrieval method) | Low | PB to EB scale | Data lakes, model repositories, log and event retention |
| L6 Cold backup media | Tape libraries, etc. | Minutes to hours | Lowest | EB scale | Compliance retention, offsite disaster recovery |
Figure: Typical storage tiers in AI infrastructure (L1 is the fastest and most expensive; L6 is the slowest and cheapest).
Data crosses multiple tiers from creation to archival, and each hop has a different latency and cost. This is precisely the problem that a tiering strategy needs to solve.
3.2 Multiple Classes of Object Storage
Object storage is the foundation of data lakes and model repositories. It typically offers multiple storage classes—standard, infrequent-access, and archive—and supports lifecycle rules: once an object meets certain conditions, it is automatically transitioned to an infrequent-access or archive class, and is automatically deleted or transferred when it expires.
- Access frequency determines the choice of storage class.
- Retrieval method and retrieval latency determine whether archived data can meet business time limits.
For example, object storage services from cloud providers such as Baidu AI Cloud commonly offer multiple storage classes—standard, infrequent-access, and archive—along with general-purpose capabilities like lifecycle management. AI data platforms can leverage these capabilities to implement automatic hot/cold tiering.
3.3 Order-of-Magnitude Differences in Relative Cost
Under mainstream technical conditions, unit capacity cost from VRAM to archival media typically differs by three orders of magnitude or more:
- VRAM uses memory specially optimized for high bandwidth, with advanced fabrication processes and complex packaging.
- Archival media achieves extremely low cost per GB through very high areal density, at the price of access speed.
This is also the economic basis for the “tiering era” thesis: the greater the capacity demand, the more the cost difference from media choice is amplified.
4. Training Scenario: Keeping the GPU from Waiting on Data
Training tasks have three typical characteristics: they are compute-intensive, they run many iterations, and the data is repeatedly accessible. As a result, if data supply cannot keep up, GPU utilization drops noticeably and the compute investment is wasted.
4.1 Where Parameters, Optimizer States, and Data Live
Take common mixed-precision training as an example. The same set of parameters may exist in several places, in different precisions and forms:
- Forward pass needs the weights, and VRAM usually keeps an FP16/BF16 copy.
- Backpropagation needs not only weights and gradients but also activations, used for recomputation or the backward calculation.
- Optimizer update usually needs to retain the FP32 master weights, along with Adam-family optimizer states such as first- and second-order moments. This alone accounts for roughly 12 bytes per parameter, not counting gradients.
- Distributed strategies: optimizer state sharding, ZeRO-style partitioning, tensor/pipeline/sequence parallelism, and parameter offloading are all essentially ways of redistributing states across VRAM, memory, local flash, and shared storage.
[Engineering tip] Which tier parameters and states live in is a design problem jointly determined by VRAM capacity, bandwidth, and parallelism strategy.
4.2 Layered Data Loading
Data loading is a classic “pipeline problem.” The core is to let the CPU and storage prepare the next batch of data in advance so the GPU does not sit idle:
- Disk side: convert raw samples into fixed-length shards for sequential reading, avoiding random reads across massive numbers of small files.
- Memory side: prefetch and cache samples for the next N steps, dynamically adjusting prefetch depth according to available memory.
- Shared storage side: multiple nodes share one dataset, using local caches to reduce repeated reads.
- Verification side: after loading, verify sample counts and checksums to prevent half-written or corrupted files from entering training.
[General code] Illustrative implementation of layered data loading
import hashlibimport queueimport threadingfrom dataclasses import dataclassfrom pathlib import Path@dataclass(frozen=True)class Sample:shard_id: intoffset: intlength: intpayload: bytes = b""def build_index(dataset_dir: Path, shard_size: int = 1 << 20):"""Scan the dataset directory and build a sample index, recording only positions without reading content."""index = []for shard in sorted(dataset_dir.glob("*.bin")):offsets = []with shard.open("rb") as f:while True:chunk = f.read(shard_size)if not chunk:break# Fixed-length record parsing: in real projects, split according to your own sample formatfor start in range(0, len(chunk), shard_size):offsets.append(start)index.append({"path": str(shard), "offsets": offsets})return indexclass LayeredLoader:"""A three-tier data loader for L4 shared storage -> L2 memory -> training process (illustrative)."""def __init__(self, index, memory_slots=8, queue_size=32):self.index = indexself.memory_slots = memory_slots # Number of shards cached in memoryself.memory = {} # shard_path -> bytesself.q = queue.Queue(maxsize=queue_size)self._stop = threading.Event()def _read_from_disk(self, path: Path) -> bytes:return path.read_bytes() # One sequential read corresponding to the L4 tierdef _fetch_one(self):sample = self.q.get()path = Path(sample["path"])key = str(path)if key not in self.memory: # Memory missif len(self.memory) >= self.memory_slots:self.memory.popitem() # Simple FIFO eviction; use LRU in productionself.memory[key] = self._read_from_disk(path)data = self.memory[key]offset, length = sample["offset"], sample["length"]payload = data[offset:offset + length]digest = hashlib.sha256(payload).hexdigest()yield {"sample": payload, "sha256": digest}def run(self):def producer():for info in self.index:path = Path(info["path"])for off in info["offsets"]:# The example below assumes fixed-length samples; real scenarios need to read the header according to the actual formatself.q.put({"path": str(path), "offset": off,"length": 1 << 12})self._stop.set()threading.Thread(target=producer, daemon=True).start()while not self._stop.is_set() or not self.q.empty():yield from self._fetch_one()
[Key layering points]
- High hit rate: the index stays resident in memory, hot shards are cached in memory, and raw data stays in shared storage, so most reads do not fall to the slowest tier.
- Verifiable: every sample carries a hash, enabling data-integrity checks on the loading side.
- Easy to extend: producers and consumers are decoupled through a queue, so you can add multi-process prefetching or remote data sources.
4.3 Tiered Checkpoints
Training runs can last for weeks, so you must account for interruption risks from node failures, preemption, and scale-down. A tiered checkpoint strategy:
- Periodic full checkpoints: every several steps, write a complete checkpoint including model weights, optimizer states, the learning rate scheduler, random number seeds, and the step count.
- High-frequency increments: between two full checkpoints, write incremental data, such as only the optimizer states or changed parameters, reducing the per-write volume.
- Fast local save + asynchronous upload: first write to the node’s high-speed flash to guarantee fast local recovery after a failure; a background thread then asynchronously uploads to object storage as a cross-node recovery source.
- Multiple retained replicas: keep several recent full checkpoints and the increment chain at the same time, so that a single corruption does not make training unrecoverable.
- Atomic commit: write to a temporary file first, then atomically rename it to the official file after validation passes, preventing half-finished artifacts from an interrupted write.
4.4 Illustrative Code for Checkpoint Management
import osimport shutilimport threadingfrom pathlib import Pathclass CheckpointManager:"""Tiered training checkpoint manager (illustrative, without specific framework interfaces)."""def __init__(self, model, optimizer, local_dir, remote_writer,full_interval=1000, keep_full=3, keep_delta=10):self.model = modelself.optimizer = optimizerself.local_dir = Path(local_dir)self.remote_writer = remote_writer # Object storage write function; inject your ownself.full_interval = full_intervalself.keep_full = keep_fullself.keep_delta = keep_deltaself.delta_since_full = 0self._uploading = Falsedef state_dict(self, step, extra=None):return {"step": step,"model": self.model.state_dict(),"optimizer": self.optimizer.state_dict(),"extra": extra or {},}def save(self, step, extra=None, full=False):full = full or (step % self.full_interval == 0)ckpt_dir = self.local_dir / f"step_{step}"tmp_dir = self.local_dir / f"step_{step}.tmp"ckpt_dir.mkdir(parents=True, exist_ok=True)# 1. Write to a local temp directory to avoid loading partial filesfor name, obj in [("model", self.model),("optimizer", self.optimizer)]:state = self.state_dict(step, extra)tmp_path = tmp_dir / f"{name}.pt"self._torch_save(state, tmp_path)# 2. Atomically commit after validation passesif tmp_dir.exists():tmp_dir.rename(ckpt_dir)# 3. Asynchronously upload to object storage in the background (upload once only)if not self._uploading:self._uploading = Truethreading.Thread(target=self._async_upload,args=(ckpt_dir,), daemon=True).start()# 4. Rotation retention policyself._rotate(local=True, full=full)@staticmethoddef _torch_save(obj, path: Path):# Replace with the actual training framework's serialization interface in productionimport torchtorch.save(obj, path)def _async_upload(self, ckpt_dir: Path):try:for f in ckpt_dir.rglob("*"):if f.is_file():self.remote_writer(ckpt_dir.name / f.relative_to(ckpt_dir), f)finally:self._uploading = Falsedef _rotate(self, local=True, full=True):if not local:returnpattern = "step_*" if full else "step_*"dirs = sorted(self.local_dir.glob(pattern),key=lambda p: int(p.name.split("_")[1].split(".")[0]))keep = self.keep_full if full else self.keep_deltafor old in dirs[:-keep] if keep > 0 else dirs:shutil.rmtree(old, ignore_errors=True)
5. Inference Scenario: Tiered Management of the KV Cache
5.1 Why Inference Must Care About Storage
Autoregressive generation reads the Key/Value vectors of all previous tokens—the KV Cache—for every token it outputs.
- Memory-access intensive: the main cost of the decoding phase comes from reading weights and the KV Cache, not from matrix computation.
- Linear growth with context: the KV Cache grows linearly with sequence length.
- Capacity governs batch size: the number of concurrent requests that fit in VRAM is often determined by KV Cache capacity.
Spilling the KV Cache from VRAM to memory and flash is a way of rebalancing between latency and throughput.
5.2 Estimating KV Cache Capacity
For a model using standard multi-head attention, the KV Cache size for a single request can be estimated as:
KV Cache bytes = 2 × num_layers × num_kv_heads × head_dim × seq_len × batch × bytes_per_element
- The factor of 2 accounts for the Key and Value parts.
- For models using grouped-query attention (GQA) or sliding-window attention, substitute the model’s actual configuration.
[Engineering tip] The estimate should be rounded up with headroom reserved, and it should also account for the framework’s own overhead and fragmentation.
[General code] KV Cache capacity estimation
from dataclasses import dataclass@dataclassclass KVConfig:num_layers: int # Number of Transformer layerskv_heads: int # Number of KV heads; smaller than total attention heads when using GQAhead_dim: int # Dimension of each headbytes_per_elem: int # Bytes per element; 2 for FP16, 1 for INT8def kv_cache_bytes(cfg: KVConfig, seq_len: int, batch: int = 1) -> int:per_token = 2 * cfg.num_layers * cfg.kv_heads * cfg.head_dim * cfg.bytes_per_elemreturn per_token * seq_len * batchif __name__ == "__main__":cfg = KVConfig(num_layers=40, kv_heads=8, head_dim=128, bytes_per_elem=2)# Example: 40 layers, 8 KV heads, 128 head dimension, FP16 storagefor length in (2048, 8192, 32768, 128000):gib = kv_cache_bytes(cfg, length) / (1 << 30)print(f"Sequence length {length:>7}: per-request KV Cache ~ {gib:.2f} GiB")
Running this example (40 layers, 8 KV heads, head dimension 128, FP16) yields the approximate scale of the per-request KV Cache:
| Sequence length | Per-request KV Cache (approx.) |
|---|---|
| 2K | 0.16 GiB |
| 8K | 0.62 GiB |
| 32K | 2.50 GiB |
| 128K | 10.00 GiB |
As you can see, when the context expands to hundreds of thousands of tokens and the number of concurrent requests reaches several dozen, the KV Cache alone can exhaust a single card’s VRAM.
5.3 Design Points for Tiered KV Cache
1) Tiered mapping of capacity and bandwidth
- L1 VRAM: the active requests currently being decoded.
- L2 memory: requests temporarily suspended or waiting to be scheduled.
- L3 flash: when memory is also full, spill over to local high-speed flash.
Blocks are migrated between tiers at block granularity. A block size that is too small causes metadata bloat and frequent migration; a size that is too large moves useless data, causing write amplification.
2) Eviction and promotion policies
- Least Recently Used (LRU): suitable for online serving with a mix of long and short requests.
- Scheduling priority: combine request priority, estimated remaining generation length, and input source (such as whether a system prefix is shared) for a holistic decision.
- Prefix reuse: when multiple requests share the same system prompt or document context, the shared prefix’s KV Cache only needs to be stored once and managed with reference counting for its lifecycle.
- Latency hiding: overlap swap-in and swap-out with GPU computation as much as possible to avoid making the GPU wait.
3) Quantization and compression
- The KV Cache can be stored in lower-precision formats such as INT8 or FP8 to reduce footprint and transfer volume.
- The choice of precision requires evaluating the impact on output quality and settling within what the business allows.
- Models using sliding-window attention can discard the KV Cache outside the window, keeping only the necessary state.
5.4 Illustrative Tiered Cache Scheduling
import heapqimport threadingimport timefrom dataclasses import dataclass, field@dataclassclass Block:block_id: intsize: inttier: str # "L1", "L2", "L3"last_used: float = field(default_factory=time.monotonic)ref_count: int = 1class TieredKVCache:"""A three-tier KV Cache scheduler (illustrative implementation; needs adaptation to the inference engine)."""def __init__(self, l1_bytes: int, l2_bytes: int, l3_bytes: int):self.capacity = {"L1": l1_bytes, "L2": l2_bytes, "L3": l3_bytes}self.used = {"L1": 0, "L2": 0, "L3": 0}self.blocks = {}self.tiers = {"L1": [], "L2": [], "L3": []} # A min-heap per tier, keyed by last_useddef put(self, size: int):"""Write a new block, placing it in L1 first and sinking it down when overflowing."""block = Block(block_id=len(self.blocks), size=size)self.blocks[block.block_id] = blockself._place(block, "L1")def _place(self, block: Block, tier: str):order = ["L1", "L2", "L3"]start = order.index(tier)for target in order[start:]:if self.used[target] + block.size <= self.capacity[target]:self.used[target] += block.sizeblock.tier = targetheapq.heappush(self.tiers[target], (block.last_used, block.block_id))return Truereturn Falsedef _evict_one(self, tier: str):while self.tiers[tier]:_, bid = heapq.heappop(self.tiers[tier])block = self.blocks.get(bid)if block is None or block.tier != tier:continue # Stale heap entry; skipif block.ref_count > 0: # Still referenced; do not evictcontinueself.used[tier] -= block.sizedel self.blocks[bid]return Truereturn Falsedef touch(self, block_id: int):"""Promote to a higher tier after a hit."""block = self.blocks.get(block_id)if block is None:returnold = block.tierif old == "L1":block.last_used = time.monotonic()returnnew_tier = "L1" if old == "L3" else "L2"if self.used[old] + block.size > self.capacity[old] or \not self._place(block, new_tier):return # Target tier cannot fit it; keep it in the original tierself.used[old] -= block.sizeblock.last_used = time.monotonic()def stat(self):return dict(self.used)
The scheduler should work together with the scheduling loop:
- Swap-in: when a new request enters runtime, swap blocks in from lower tiers.
- Swap-out: when VRAM pressure rises or a request is preempted, swap out according to policy.
- Memory management: use paged block management to reduce VRAM fragmentation.
5.5 Weight Loading and Model Repositories
Large model weights usually range from tens of GB to hundreds of GB, and the startup and scaling speed of inference instances directly affect elasticity:
- Load from the node’s local cache first.
- On a local miss, pull in parallel from high-speed shared storage or object storage.
- Techniques such as weight sharding and on-demand loading (for example, loading only the layers a task needs) can shorten load time.
6. Data Lakes: Hot/Cold Tiering and Lifecycle Management
Training data is often large in volume, long in lifecycle, and highly uneven in access. Research-type jobs may repeatedly scan the entire dataset, while production training reads only a fixed, deduplicated subset. Data lake tiering needs to address four points.
1) Classify storage classes by temperature
- Put data reused in the near term in standard storage.
- Transition data no longer accessed for a long time to infrequent-access or archive classes.
- Retrieving archived data usually requires additional wait time, so data that might still be read directly by training should not be set to archive in lifecycle rules.
2) Unified metadata and indexing
No matter which tier data resides in, maintain path, format, version, checksum, and last-access time through a unified catalog. Avoid “blind scanning” across multiple tiers by tasks; use metadata to locate data quickly.
3) Small-file governance
- Massive numbers of small files increase request counts and metadata overhead.
- It is recommended to merge small files into large objects before writing (for example, partitioned by day or hour), and to choose a columnar format to reduce the amount of data scanned.
4) Lifecycle rules and retention policies
from datetime import datetime, timedelta# Illustrative lifecycle rules: field names only express the policy; actual interfaces depend on the storage service usedLIFECYCLE_RULES = [{"prefix": "raw/", "days_since_last_access": 90,"transition": "COLD", "expire_after_days": 730},{"prefix": "features/", "days_since_last_access": 30,"transition": "COLD", "expire_after_days": None},{"prefix": "checkpoints/", "expire_after_days": 30},{"prefix": "logs/", "transition": "ARCHIVE", "expire_after_days": 180},]def plan_transition(obj, now=None):"""Determine whether an object should transition to cold storage or expire, based on its type, partition, and last access time."""now = now or datetime.utcnow()for rule in LIFECYCLE_RULES:if not obj.key.startswith(rule["prefix"]):continueidle_days = (now - obj.last_access_time).daysif "transition" in rule and idle_days >= rule["days_since_last_access"] \and obj.storage_class != rule["transition"]:return ("transition", rule["transition"])if rule["expire_after_days"] is not None and idle_days >= rule["expire_after_days"]:return ("expire", None)breakreturn (None, None)
[Engineering tip] In practice, you need to periodically scan object metadata to drive state transitions, and record each decision so it can be audited.
7. Capacity Planning and Cost Modeling
7.1 Cost Structure
The total cost of ownership for AI storage is roughly composed of five parts:
- Storage capacity fees: billed per GB-month, with different unit prices for different storage classes.
- Request fees: charges per operation such as reads, writes, and listings, which are especially sensitive in scenarios with massive numbers of small files.
- Retrieval fees: incurred when archive-class data is read.
- Traffic fees: egress traffic when accessing across network types or across regions.
- Management costs: migration policies, metadata maintenance, monitoring and alerting, and staff effort.
7.2 A Cost Model Example
[General code] Monthly cost estimation for tiered storage
from dataclasses import dataclass@dataclassclass TierSpec:price_per_gb_month: float # Price per unit capacity (example value, not a real quote)price_per_10k_requests: floatretrieval_per_gb: floatmonthly_retrieved_gb: floatlatency_note: str# The following are example prices, only to demonstrate the calculation; use the official pricing of your chosen service in practiceTIERS = {"STANDARD": TierSpec(0.12, 0.01, 0.0, 0.0, "millisecond-level"),"INFREQUENT": TierSpec(0.08, 0.01, 0.0, 0.0, "millisecond-level"),"ARCHIVE": TierSpec(0.02, 0.01, 0.05, 500.0, "minute-level retrieval"),}def monthly_cost(tier_specs, usage_gb, requests, retrieval_gb_by_tier):total = 0.0detail = {}for tier, gb in usage_gb.items():spec = tier_specs[tier]storage = gb * spec.price_per_gb_monthreq = requests.get(tier, 0) / 10000 * spec.price_per_10k_requestsret = retrieval_gb_by_tier.get(tier, 0) * spec.retrieval_per_gbdetail[tier] = {"storage": storage, "request": req, "retrieval": ret}total += storage + req + retreturn total, detailif __name__ == "__main__":usage = {"STANDARD": 200_000, "INFREQUENT": 600_000, "ARCHIVE": 3_200_000}requests = {"STANDARD": 5_000_000, "INFREQUENT": 500_000, "ARCHIVE": 100_000}retrieval = {"ARCHIVE": 20_000}total, detail = monthly_cost(TIERS, usage, requests, retrieval)for tier, item in detail.items():print(f"{tier}: storage {item['storage']:.2f}, requests {item['request']:.2f}, "f"retrieval {item['retrieval']:.2f}")print(f"Estimated monthly total cost: {total:.2f}")
- Assume that of 4 PB of data, 80% (about 3.2 PB) is transitioned to the archive class.
- Each month, 20 TB is retrieved from the archive.
- With the example prices, storage cost drops from about 480 when everything uses the standard class to about 80, for a total of about 87.
- But if archive retrieval rises to 200 TB, the retrieval fee climbs from 5 to 50, and the total cost approaches 137.
The conclusion is direct: how much tiering saves depends on “how thoroughly cold” the data is and “how frequently it is retrieved.” Making decisions based on the capacity unit price alone tends to underestimate the true cost.
8. Engineering Checklist and Common Pitfalls
8.1 Implementation Checklist
- Define tiering boundaries: map out each dataset’s producers, consumers, access frequency, and latency requirements to form a data temperature profile.
- Unify metadata: build a catalog and index covering all tiers, retaining the last-access time to inform lifecycle policy decisions.
- Tier on write: when data is written, place it directly into the target tier based on tags or time windows, reducing later migration.
- Atomic commit and verification: use temp files plus atomic renames, and attach checksums to critical data.
- Monitor tier hit rate and tail latency: the user experience of a tiered system is determined by P99/P999 latency, not just the average hit rate.
- Cost visibility: break down costs by business, task, and storage class to identify abnormal access patterns.
- Drill retrieval and recovery: regularly rehearse archive retrieval and disaster recovery to confirm they meet business time objectives.
- Security and compliance: encrypt sensitive data, control access on the principle of least privilege, and retain complete operation audit logs.
8.2 Common Pitfalls
- Pitfall 1: Accounting only by capacity unit price. In small-file scenarios, request fees can exceed storage fees.
- Pitfall 2: Chasing the highest hit rate. No matter how high the hit rate, online business cannot be satisfied if tail latency is not met; before introducing a new tier, first assess its impact on the latency distribution.
- Pitfall 3: Ignoring consistency. When metadata and the data itself are out of sync, tasks may read deleted or half-written objects.
- Pitfall 4: Treating archives as casually as cold data. Archive retrieval has latency and cost implications, and frequent retrieval can be more expensive.
- Pitfall 5: Copying a strategy wholesale, all at once. Data temperature distributions vary widely across businesses, so tiering ratios must be continuously calibrated against real access data.
9. Conclusion
Regardless of when the frontier models’ capabilities are truly matched, infrastructure efficiency remains a certainty in the competition.
- On the training side, the point of tiering is to keep the GPU from waiting on data as much as possible, and to reduce interruption losses through tiered checkpoints.
- On the inference side, the point of tiering is to serve more requests within limited VRAM, supporting larger-scale applications at a lower cost per token.
- On the data lake side, the point of tiering is to use lifecycle management to bring costs down to a level matched to the value of the data.
Placing each type of data in a tier with the “right price and sufficient speed,” and letting data flow between tiers on demand, is the fundamental way to cope with the massive data growth of the AI era. This is both the lesson the “tiering era” offers the storage industry and a piece of foundational engineering that every AI application team must complete when building its infrastructure.
