Selasa, 11 Agustus 2009

Load Balancing

Internet Protocol (IP) is shared between multiple servers. This process helps in optimal resource utilization, maximizing the amount of data passing reliably through a system from input to output, and minimizing the response time.

Load balancing enhances the performance of server and thus used in busy networks, which feels difficult to satisfy the entire request issued to the server. Load balancing is nothing but equilibrating the processes that requests for server to execute. The processes are managed by dedicated program or hardware devices. In web services, there are two web servers engaged in load balancing scheme. If one of the web servers gets overloaded, the alternative web server shares the work and executes the requested processes. Load balancing is done with the service time in order to handle multiple requests without causing traffic. That is each process is given a specific time in the server for its execution and the process cannot stay no more in the server once the service time is exceeded. The service time is reduced when Load balancer works actively.

For the internet service the load balancer is a software program that receives the request and returns it through ports connected to it. Requests from the client are forwarded to the backend web server where the process is shared to the multiple servers and worked. The client receives apposite solution without knowing about internal detachment of the process. It also prevents from client connecting to the server directly that ensures security of data. Load balancer works dynamic even if the servers are not available. They store the processes within the loader and execute them later when the server is available.

There are alternative methods available for load balancing that does not require a software or hardware node. In this approach, the client is allowed to choose their respective server and get service from them. This technique is highly transparent to the client because it discloses the existence of multiple servers at the backend. This straightforward method is called the round robin DNS that works depending on the degree of control over the DNS server. Here multiple IP addresses are associated with the single domain. The processes are scheduled for execution in the server using varieties of scheduling algorithms. Round Robin is one of the scheduling algorithms used in Load balancing to sophisticate easy finding of backend server to send a request to.

Assigning process to the particular server is based on IP address, or random assignment. Channelizing IP address between client and server is sometimes unreliable, because there is a chance where IP address may change during the transaction. During the random assignment, the balance loader faces the problem of storage burden. Sometime data gets overwritten, thus leads to missing of original information. But fortunately, there are feasible load balancing approaches available to have fastest access to any server.

Tidak ada komentar:

Posting Komentar