Designing a software based load balancer
- by Kishore pandey
Hello to all Server fault users,
I am new to this website but have constantly been using the mother website, stackover flow.
Well to begin with, i would like to design a load balancer for the organization i am working for.
As i am very new to this whole, idea about load balancing and networks. I am finding it very difficult to start my project.
I did a lot of research on already existing load balancer and found some(HAPROXY,NGINX) that could solve my problems, but the point is, I am still in a dilemma if they could answer the following requirements of mine:
The client and server in my architecture are distributed.
The load balancer should take care of the firewall.
LB server should balance the load among all servers present in WWW cloud.
The LB server should have some sort of configuration file, with the help of which it is possible to configure the servers.
Heart beat: With the help of which it would be possible to check if any server is down, if any server is down the request should be passed to some other server.
Various load balancing algorithms of the incoming requests.
Easy error handling.
It should be fairly possible to prioritize the incoming requests.
Is there any already available load balncer solution on the market that could satisfy these requirements?
If not is there any base code available with the help of which i could develop my own load balncer. If not where should i start from scratch?
I am practically new to everything.
Any help from a load balancer expert is very much appreciated.
Thanx a ton in advance.
Cheers and regards.
Kishore