Try CDNetworks
For Free
Most of our products have a 14 day free trial. No credit card needed.
An origin server is a computer that runs programs designed to listen to and respond to incoming requests or traffic. It contains the original version of the web page and is responsible for delivering the content to end users when requested. As the authoritative source of a website’s content, it stores and manages all digital assets including HTML files, images, videos, and dynamic elements. This central server acts as the foundation of content delivery infrastructure, playing a crucial role in processing user requests and maintaining the definitive versions of web content before it reaches end users through various distribution methods.
Origin servers take in requests and serve up content for a website or web page. When a user opens a web page on a website, a request is sent to the origin server to retrieve the content. Depending on how far away the origin server is from the end user, this could result in a delay called latency.
In addition, the client at the user’s end and the origin server also need to establish a secure connection using SSL/TLS protocol which creates some extra round-trip time (RTT). RTT can be thought of as the total time in milliseconds between a browser requesting information and receiving a response. In addition to the physical distance, the amount of traffic, nodes, and intermediate web servers can also affect the RTT.
Origin servers are maintained and updated by a website owner. Each such server has a fixed capacity beyond which it cannot accept traffic and if it continues to receive requests, could result in downtime. If the origin server is experiencing downtime, or if it is slow, end users will not have content delivered to them on time or at all.
The origin server is a concept that is generally used in relation to the edge server, Content Delivery Network, or CDN caching server. While the origin server contains the original versions of the content, edge servers are numerous and distributed across various locations around the world.
In the case of CDNs, edge servers are found on the edge of the content distribution network. Edge servers are responsible for storing or caching the content and are responsible for quickly processing requests and delivering content to end users in proximity. This way, edge servers take the load off of origin servers and only reach out to them when any uncached assets are to be retrieved.
Even with CDNs, origin servers play a crucial role. They contain key server-side code and databases used for authentication.
While CDNs do manage a significant proportion of the content delivery, they don’t offload all such tasks from the origin servers. Exactly how much of the tasks can be offloaded depends on the CDN’s functionalities and the unique aspects of your website.
Broadly speaking, static resources such as CSS files, images, static HTML, and Javascript files can be cached in CDN servers. These constitute almost half of the bandwidth usage, which can be saved if they are delivered from the edge servers. Additionally, dynamic content such as WordPress HTML files generated on the go can also be cached with advanced CDNs, and in these cases, the bandwidth saved can be more than 80 percent.
CDN edge servers interact with an origin server when the latter delivers content to the former. The two could communicate with each other using a push or a pull method. In the push method, you will update the CDN with changes made to the origin servers. This is less effective than the pull method, where the CDN automatically pulls new content from the origin servers.
Depending on whether the content delivered to the end user involves static or dynamic assets, the roles played by the edge server and origin server can also vary slightly. Consider the example of a login page where a user has to be authenticated before accessing a service. Ideally, the assets downloaded to the web page would be static assets like the HTML page, the corresponding CSS file, any image files, and some JavaScript libraries. Since these are static files that are the same for all website visitors, they can be cached and served right from the edge server. They can be loaded from the edge server without bothering the origin server and consuming bandwidth.
But when the user enters their login details, there is some dynamic content that has to travel to the edge server. From here, the edge server relays the request to the origin server. It is the origin server that verifies the login details by comparing them with databases before returning the user’s account information.
To make CDNs work properly, the edge servers need to be designated as the destination for inbound HTTP requests. For this, you will need to make some modifications to your Domain Name System (DNS), which will route requests to your domain to one of the edge servers. To check if your content is being delivered from the edge server, you can look at the assets’ response headers.
As global digital demands continue to grow, protecting and optimizing your origin server becomes increasingly crucial. CDNetworks not only provides one of the world’s most extensive content delivery networks, with over 2,800 Points of Presence (PoPs) across more than 70 countries and regions, but also offers comprehensive origin server protection through multiple security layers.
Our security approach includes:
Our infrastructure capabilities deliver unmatched performance:
What sets CDNetworks apart is our specialized expertise in challenging markets like China, Russia, and other emerging economies where content delivery can be complex. Our technology combines robust origin server protection with optimized content delivery through intelligent caching and routing algorithms, ensuring your content remains secure and accessible worldwide.
Introducing Edge Application — CDNetworks’ serverless edge computing solution. Learn how it works, its key benefits, and real-world use cases.
CDNetworks successfully mitigated a massive-scale DDoS attack targeting a browser game platform with a large user base in Southeast Asia.