What is an Upstream Server?
An 'Upstream Server', is a server that sits higher up in the hierarchy of a network and provides data, services or updates to another server, also referred to as the downstream server.
- Home
- Knowledge Base
- What is an Upstream Server?
When working or operating in the fields of web development and computer networking, the term 'Upstream Server', is frequently encountered. Understanding what it is and how it works, is essential for anyone working in areas which involve technology and the internet.
In computer networks, the primary data or resources flow from the upstream server down to the client or intermediate servers, receiving requests from servers or clients which are downstream, sending back the required response or data.
3. Routing & Logic
The upstream server uses rules and logic, which based on the configuration for items such as 'Caching', and 'Content Types', will determine which back end server will be best suited to handle the request.
By distributing requests across multiple servers, the upstream server improves reliability, performance and availability.
6. Response To Client
The back end server returns the completed request back to the upstream server, which may encrypt, modify, cache or compress the response, before sending the completed request back to the client or web browser.
The client will then receive the requested website page, file or data from the upstream server.
Upstream Server Benefits
Using an upstream server provides a several benefits, which not only increases speed and performance but improves the security and availability of a website or online service.
Faster Loading Speeds
Intermediate servers can save, or cache, copies of files from the upstream server. This means they can serve users instantly without requesting the same data multiple times, which reduces the requests and load, of any servers or databases.
Improved Traffic Management
A front-facing server can act as a traffic officer, which balances incoming requests across multiple, back end servers, so no single machine is overloaded with high amounts of traffic.
Stronger Security
Upstream servers sit safely behind proxy servers or firewalls, so because they are hidden from the public internet, it is much harder for hackers to attack them directly.
Lower Bandwidth Costs
In large companies, a single downstream server can download updates with a single request from an online, or upstream source. The updates can then be distributed to thousands of devices on a local network, saving on large amounts of internet data and bandwidth.
Easier Management
Updates, data changes and security fixes can be applied to one central upstream server, rather than updating every single computer individually.
Common Examples of Upstream Servers
Reverse Proxies & Load Balancers
When you visit a website, the website request normally goes to a 'middleman', server first, which use operating software such as Nginx or Apache.
This intermediate server forwards the request to a pool of back end servers that actually process the data. In this setup, those back end processing units are called upstream servers.
Software Update Hierarchies
In corporate networks which use systems such as 'Windows Server Update Services', abbreviated as 'MS-WSUSOD', a central server downloads updates directly from Microsoft. The central server then passes the updates down to local branch servers, with the primary central server acting as the upstream server.
Micro Services
Modern applications are normally broken into smaller services which are interconnected. For example, 'System', A stores customer profile information and 'System B', requires that information to send an email. In this instance, 'System A', is recognised as the upstream service because 'System B', depends on its data.
In Summary
An 'Upstream Server', is a computer or service located higher in a network hierarchy that provides data, content or updates to a lower-level, 'Downstream Server', or client.
Related Information
To understand and learn more, the following information and related resources are available within our Knowledge Base.
Further Information, Websites & Links
The following websites and links provide further information and resources if you would like to learn more.
