Professional Documents
Culture Documents
03 Terminologies
03 Terminologies
Load Balancer:
o Simple words load balancer is a network device that distributes traffic to other devices.
o A load balancer is a network device that distributing traffic to other network devices.
o Efficiently distributing incoming network traffic across a group of backend servers.
o Distributes client requests or network load efficiently across the multiple servers.
o A load balancer is a device that acts as a reverse proxy and distributes network traffic.
o In other words, clients connect to load balancer believing to connect to an actual server.
o Then, the load balancer contact the backend server providing the required resource.
o Load balancers are used to increase capacity concurrent users & reliability of applications.
o Solution responsible for distributing incoming HTTP requests across multiple servers.
o Hardware or software solution helps to move packets efficiently across multiple servers.
o Load balancers optimizes the use of network resources and prevents network overloads.
o Found in the network and transport layer (IP, TCP, FTP, UDP) and application layer (HTTP).
o The Load balancers are most commonly deployed when a site needs multiple servers.
o Because the volume of requests is too much for a single server to handle efficiently.
o Deploying multiple servers eliminates a single point of failure, making it more reliable.
o However, a load balancer performs advanced checks even at the application layer.
o It performs three interrelated functions; monitoring hosts, acting as proxy & load balancing.
Forward Proxy:
o Takes origin connections from intranet clients & connect to servers outside on internet.
o Forward proxy takes requests from an internal LAN network & forwards them Internet.
o Sometimes, forward proxy may even serve the requesting client with cached information.
o When end user web requests are forwarded to a proxy before going out to the internet.
o And responses go back through the proxy and then back to the user for privacy & control.
o Main purpose of forward proxy server is to help users access the servers over the internet.
o Forward Proxy Server is the most popular proxy mode and it present in almost all networks.
o FP, which forward the request from the intranet clients (browser) to the internet servers.
Half Proxy:
With a Half-Proxy, a client will connect to the proxy and the proxy will establish the session with
the servers. The proxy will then respond back to the client with the information. After that
initial connection is set up, the rest of the traffic with go right through the proxy to the back-
end resources. The proxy may do things like L4 port switching, routing or NAT’ing but at this
point it is not doing anything intelligent other than passing traffic. Basically, the half-proxy sets
up a call and then the client and server does their thing. For protocols like streaming protocols,
you’ll have the initial set up but instead of going through the proxy for the rest of connections,
the server will bypass the proxy and go straight to the client. This is so don’t waste resources on
the proxy for something that can be done directly server to client.
Message Description
Syn Used to initiate and establish a connection. It also helps you to synchronize
sequence numbers between devices.
ACK Helps to confirm to the other side that it has received the SYN.
SYN-ACK SYN message from local device and ACK of the earlier packet.
FIN Used to terminate a connection.