Are you a Software Engineer? Do you know this Tool | Proxy

Shanira Perera
3 min readAug 29, 2022

--

Hi all, Welcome to another Techie Talk….

Why do you call a technician a good technician? Because he is an expert in tools and he knows how to apply the right tool in the right place. Same theory for that software engineers as well. Most software engineers fail not because they lack knowledge, but because they don’t know the right tools to what they want to do. This is often faced when you go into an interview and you know what to do but you don’t know how to do it. lets enough! So let’s move on to the rest.

Proxy

What is a Proxy is in google says, In computer networking, a proxy server is a server application that acts as an intermediary between a client requesting a resource and the client providing that resource. We can divide this proxies into 2 parts.

01). Forward Proxy

02). Reverse Proxy

Forward Proxy

image by Author via psychz.com

Let’s see this with an example. Suppose person A has to send a parcel to person B. Here, B does not need to know that A has sent the parcel. So A uses an intermediary Then B knows that this parcel was received from that intermediary

In this process, this intermediary acts as a forward proxy. This proxy most of the time stay on the client side. Forward proxy mainly use for caching and some other security controls as well. Client is always behind the forward proxy and it hidden all the content of the client from the server

Reverse Proxy

This was the opposite of the forward proxy that’s means this is in behind the server side. in this one server is hiding all the contents from the client.

Ok, now we has a problem then what is the different?

The difference is this, in forward proxy, the proxy is handled by the client and reverse proxy is handled by the server.

Benefit of using proxies

In this point, Here we have to talk mostly about reverse proxy. because forward proxy is just cashing and doing security roles enforcing. so that im not going to talk about that.

Image by Author via Internet

Ex :

Server A → HR Server

Server B → Finance Server

Suppose user A wants financial information, so he has the URL www.abc.com/finance... .com, so using this URL it first redirects to the proxy. The proxy then determines and forwards the request to the correct server. this is like a load balancing.

The second is client send the HTTPS request to the proxy and it will terminate from there and send the plain https request to the server or services.

The third one is when the request comes to the proxy and proxy can do the authentication weather is this request is authenticate to goto in. if is possible then the proxy sends the request to the correct server.

Therefore, this reverse proxy can be used for any of the above scenarios

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Shanira Perera
Shanira Perera

Written by Shanira Perera

Hello, I’m Shanira, welcome to the world of technology. I am an Associate software engineer at virtusa. So let’s begin!

No responses yet

Write a response