Kaigai Blog living abroad in my twenties

【My Study Note】Proxy Services

Infotech Networking

Proxy Services


A proxy service is a server that acts on behalf of a client in order to access another service. Proxies sit between clients and other servers, providing some additional benefits.

Some Additional Benefits

  • Anonymity
  • Security
  • Content Filtering
  • Increased Performance

Some specific examples of proxies would be “gateway routers”. You don’t hear them referred to this way, but a gateway definitely meets the definition of what a proxy is and how it works.

The concept of a proxy is just that, a concept or an abstraction. It doesn’t refer to any specific implementation. Proxies exist at almost every layer of our networking model. There are dozens and dozens of examples of proxies.

Web Proxies

Most often, you’ll hear the term, proxy, used to refer to web proxies.

As you might guess, these are proxies specifically built for web traffic. A web proxy can serve lots of purposes. Many years ago, when most Internet connections were much slower than they are today, lots of organizations used web proxies for increased performance.

Using a web proxy, an organization would direct all web traffic through it, allowing the proxy server itself to actually retrieve the webpage data from the Internet. It would then cache this data.

This way, if someone else requested the same webpage, it could just return the cached data instead of having to retrieve the fresh copy every time.

This kind of proxy is pretty old and you won’t often find them in use today, why? Well, for one thing, most organizations now have connections fast enough that caching individual web pages doesn’t provide much benefit.

Also, the Web has become much more dynamic. Going to www.twitter.com is going to look different to every person with their own Twitter account, so caching this data wouldn’t do much good.

A more common use of a web proxy today might be to prevent someone from accessing sites, such as Twitter, entirely.

A company might decide that accessing Twitter during work hours reduces productivity. By using a web proxy, they can direct all web traffic to it, allow the proxy to inspect what data is being requested, and then allow or deny this request, depending on what site is being accessed.

Reverse Proxy

A reverse proxy is a service that might appear to be a single server to external clients, but actually represents many servers living behind it.

A good example of this is how lots of popular websites are architected today. Very popular websites, like Twitter, receive so much traffic that there’s no way a single web server could possibly handle all of it. A website that popular might need many, many web servers in order to keep up with processing all incoming requests.

A reverse proxy, in this situation, could act as a single front-end for many web servers living behind it. From the client’s perspective, it looks like they’re all connected to the same server. But behind the scenes, this reverse proxy server is actually distributing these incoming requests to lots of different physical servers. Much like the concept of DNS Round Robin, this is a form of load balancing.

Another way that reverse proxies are commonly used by popular websites is to deal with decryption. More than half of all traffic on the Web is now encrypted, and encrypting and decrypting data is a process that can take a lot of processing power.

Reverse proxies are now implemented in order to use hardware built specifically for cryptography, to perform the encryption and decryption work. So that the web servers are free to just serve content.

Proxies come in many other flavors, way too many for us to cover them all here. But the most important takeaway is that proxies are any server that acts as an intermediary between a client and another server.