CDN

Introducing advanced geo-located origin shields

What is an origin shield?

When you create a pull zone, CDNs work by pulling content from your web server (known as the origin), storing it, and then delivering it to your visitors from the edge server closest to them. Because of the large number of edge servers around the world that a CDN operates, there is a risk of overloading the origin server if all of them attempt to pull content from it at the same time.

CDN without origin shield
Edge servers connect to the origin directly, which may cause origin overload

An origin shield is therefore used as a middle point in the connection between the edge servers and the origin avoid that. All edge servers connect to this shield instead of the origin server to request a file, and the shield opens a single connection to the origin server to fetch it. It then serves it to the edge servers, and they serve it to the visitor. 

How a CDN origin shield works
The origin shield stores the requested file and serves it to all edge cache servers.

The traditional origin shield, as displayed on the image above, may help with origin server overloads but there is a tradeoff. Since the content now has to go through the shield there is an increased latency. The shields are usually placed in a few geographical locations and may be far from the origin server. When there is a request for uncached content, the visitors will experience slow performance. Additionally, depending on how the origin shield is architected, it could become a single point of failure, cutting off the origin from the CDN edge network and causing downtime. 

Geo-located origin shields

To fix the pitfalls of traditional origin shields we completely transformed PUSHR's edge network. Every edge server in our CDN network has been converted to serve also as an origin shield and a load balancer. Edge servers communicate with each other to select the fastest among them, which is physically closest to the origin. This edge is then designated as an origin shield. Because of the proximity of the shield to the origin, uncached content enters PUSHR's network at high speed with little to no increase in latency. The rest of the edge network will pull content from this shield and will monitor it's availability. If the shield experiences an outage it will be bypassed automatically to avoid downtime and edge servers will temporarily connect directly to the origin to pull uncached content. 

Geo-located origin shield by PUSHR CDN
Geo-located origin shields provide up to 2x acceleration for uncached content and improve availability.

Geo-located origin shields are free and are already enabled for new customers. We are working to make the feature backwards compatible and it will soon be available for older accounts too.