Write load balancing algorithm for our cloud servers

We have a Flash based multiplayer game hosted on a cloud server. We have the game currently on two instances of the servers. There is a load balancer that directs traffic between the two. The algorithm used is currently generic - round robin, etc.

Since this is a multiplayer game, we want to increase the users chances of finding each other easily once they log in. Since the current algorithms send users randomly between servers, the chances of users finding each other is very rare.

So, we would like to write a new load balancing rule that makes the loadbalancer direct traffic between the servers in the following manner:

The first 500 users that log in goes into server A.

The next 500 users that log in goes into server B

The next 500 users that log in goes into server C etc. (when we add server C in the future)

Kemahiran: Pengkomputeran Awan, PHP, Kejuruteraan Perisian

Lihat lebih lanjut: the algorithm, computing algorithms, computing algorithm, algorithm is, algorithm computing, algorithm b, servers, server load, load php, game algorithm, cloud, algorithm, algorithm c, server load log, write traffic, server cloud, balancer, flash cloud, server game multiplayer, load balancing cloud computing, traffic algorithm, cloud servers, traffic log, flash game multiplayer server, php load

Tentang Majikan:
( 5 ulasan ) Northridge, United States

ID Projek: #1539641