06 Feb 2026 5 min read

Dedicated Mid-Tier: The Bodyguard Your Origin Needs (and Your CFO Too)

Dedicated Mid-Tier: The Bodyguard Your Origin Needs (and Your CFO Too)

If you work in digital television or OTT streaming, you know the cold sweat when a massive event like a football final is coming. The fear isn't so much that the CDN won't respond, but that your origin server decides to "call in sick" under the avalanche of requests.

If that's your case, let us tell you why you need a mid-tier layer. An instance that, besides acting as a second-level cache (L2), works as an intelligence filter, a shield, and — as a bonus — a cost-saving manager. All in one.

The funnel effect with request coalescing

Imagine 10,000 users requesting the same video fragment simultaneously. Without a mid-tier, your origin receives 10,000 screams asking for the same thing. With the mid-tier, request coalescing magic happens.

The mid-tier receives the requests, realizes they're all looking for the same .ts file, and tells the rest: "hold on, I'll go get it." It makes a single request to the origin, caches the file in its L2 cache, and delivers it to everyone simultaneously. Your origin doesn't even notice that an entire stadium is watching the screen.

Every device is a world

An old Smart TV, an iPhone, a console, or any device all have their quirks. Some send strange headers, others add telemetry parameters to the URL like ?user_id=123&session=abc. For a normal cache, each of these variations is a different file — chaos and cache misses.

The mid-tier applies header and query string normalization:

Goodbye to evictions: elephant memory for your video

On edge nodes, space is expensive and content flies fast. If a video isn't trending in the last five minutes, it gets evicted to make room for new content.

The dedicated mid-tier, however, has massive storage capacity. It acts as intermediate video storage where long-tail content lives. Without constant evictions, it prevents edge nodes from having to fetch that old series episode from the origin. The mid-tier always has it ready.

Taming the Vary header

At the edge, the Vary header is both a blessing and a curse. If not handled properly, it fragments your cache into a thousand pieces. The Perimetrical mid-tier acts as a universal translator for common cases:

Multi-CDN environments: put your mid-tier in charge

Many broadcasters use multiple CDNs (CDN1 for some countries, CDN2 for others, CDN3 for live streaming…).

The problem without a mid-tier: every time a CDN misses its cache, it goes straight to your origin. With three CDNs, your origin gets triple the load!

The solution with a dedicated mid-tier places the mid-tier as a single entry point for all your CDNs:

Multi-layer failover protection

In television, making mistakes is not an option. That's why we've designed a redundancy system that's Murphy's Law-proof:

The savings scenario: numbers that make the CFO smile

In a 1PB monthly scenario, the savings in egress costs can exceed €84,000 annually.

DDoS attack shielding

In a DDoS attack scenario, the mid-tier is your first line of defense. Your origin is no longer exposed to the internet and remains isolated. It only "talks" to the mid-tier.

Implementing a mid-tier is a sound technical decision because it protects your origin, makes your operations team happy, and saves the company a fortune in infrastructure costs.

Need to strengthen your web security? Our technical team can help you design the perfect protection strategy for your use case.

Get started