CDN Cache Optimizer: Training Agents Under Schema Drift
The "Silent" Problem
Most people don't realize that every time they load a video or scroll through a feed, they aren't hitting a central server. They're hitting a CDN (Content Delivery Network) that’s basically a local copy.
The promise is faster internet, but the reality is that cache management is kind of stuck in the past. When a cache gets full, it has to decide what to kick out. Today, even giant providers like Cloudflare or AWS are still using policies from the 1960s:
LRU (Least Recently Used): Toss whatever hasn’t been touched in a while.
LFU (Least Frequently Used): Toss whatever isn’t popular.
These are static "dumb" rules. They don’t adapt to viral surges or changing business goals. They just exist. And when the infrastructure shifts (what we call Schema Drift), these policies completely fall apart.
The Solution: Learning to Adapt
We didn't want to build a static rulebook. We built an RL environment that trains agent…