• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 953
  • Last Modified:

Round Robin algorithm

Does anyone have an example of how to do load balancing for a client/server application among multiple servers?

I don't need code, just details.
0
vinniew
Asked:
vinniew
1 Solution
 
yonatCommented:
0
 
vinniewAuthor Commented:
It's close, but I'm looking for the other ways to do it.  CORBA isn't easy to work with.
0
 
kthorpeCommented:
I have developed such a system.
The first question you need to ask yourself is what constitutes
load. You may consider as I did # of connections. I am using IP to implement my client/server app. for load leveling

1. The machines load level must be globally availble when each
connection is made.
2. Each server must indicate to each other server in a group what its load level is. This can be done with a different port for different groups of service. then broadcast load level over the port when it changes
3. Each server knows the load level of every other server in a table.
4. The client may broadcast a message requesting a server, the least loaded server responds with its address. thus providing the information to initiate a socket.

Note item four can be moved as a separate application or service supplied in one of the servers in the service group. this hides some of the specifics from the client. This app would then have to act as a pass through for connections and you lose some of your fault tolerance if your group service server dies.
Contact me with further info at kthorpe@sdt.com
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now