Tuesday, April 10, 2012

How to create a a master slave server system?

I need to create 5 server programs such that one of it is the master server.



When a client tries to make a connection the master server checks which of the server has the least load(including itself) and makes a connection with the free server.



I guess i should use shared memory concepts where each server program writes to the memory its load and process id. But as I am new to this field I am do not even have a clue about solving the problem.



Any relevant links or ideas will help.



Ps: I am working in unix environment





No comments:

Post a Comment