Skip to main content

WHAT DOES LOAD BALANCER DO BETWEEN CLIENT COMPUTER AND SERVERS?


Whenever we talk about websites we often tend to be restricted to the domain and hosting only. A person who is generally developing websites does only take care of designing the front end and moreover functionality related to back-end. Most of the  people never thought about the servers and load balancer. Even a student in computer science often confused about the true working of traffic management in servers as well as load balancing it to make sure running the website and application without causing any issue to the end users.

So this article is all about how actually the load balancer work in a real time environment. There are three things that need to understand

1.               Client
2.               Load balancer
3.               Server

Server -Servers are computer programs running to serve the requests of other programs, the clients Thus, the server performs some tasks on behalf of clients. It facilitates the clients to share data, information or any hardware and software resources

The client is the end user who is using the service. The n number of the client accessing the application is what that termed as traffic. If the capacity of a server to handle the request is less than the condition of server down occurs.

The load balancer is nothing but a medium to divert the traffic between various servers according to their capacity such that the load on each server remain the same. The load balancer mainly helps application to maintain its availability all the time. Such as if any server is not working it won't be the problem for the application as Load balancer will divert all the traffic from that server to the remaining one such that user even don't get the feeling of using different server for his/her queries. So let us talk about how everything works in a real time.

There are various load balancing algorithms involved taking care for diverting traffic such as round robin, first come first serve, session management and others. Using session by load balancer is the best thing as it takes care of request coming from the same client and often process the requests to the same server for which earlier it was processed.

Load balancer such as F5 convert the IP address from the client to the required IP address for the server for processing the request and revert again while processing the request from the server to the client.

For more information, you can refer to the following links -


Comments

.

Popular posts from this blog

How to build a project in eclipse with MAVEN build tool?

How to build a project in eclipse with MAVEN build tool? Step 1:- Install maven and set the path in my computer. Once path is set for java and maven you will get a screen With version installed in your system. Step 2:- Write a command mvn archetype:generate to build a project of your choice.This will give you a option to select a project from list. Step 3:- As soon as this operation will complete maven give you choice to choose project.Search for maven-archetype-webapp this will build a web project with basic structure. Step4:- Follow the below procedure to give name , version ,package ,artifact and group id of your choice. Step 5:- You will get screen with build success.Congrats your project is build in directory. Step 6: Go in the directory to check for the folders automatically created by maven. You will get pom file and src folder and the package folder. Step:-7  Move to the directry having pom.xml and run mvn ecl

Delete node at a given position in Linked List

Delete node at a given position in Linked List //delete node by position in linked list public Node deleteKeyAtPosition ( Node head , int position ) { Node temp = head ; Node prevtemp = temp ; int c = 1 ; //if position is head if ( position == 1 ) { head = head . next ; return head ; } //position +1 because we have to go till that point while ( c != position + 1 ) { if ( c == position && position != 1 ) { prevtemp . next = temp . next ; temp . next = null ; temp = prevtemp ; } prevtemp = temp ; temp = temp . next ; c ++; } return head ; }