Home > other >  New user distribution server
New user distribution server

Time:09-16

want to design a kind of multi-factor weighted random allocation algorithm

Suppose a network game background now have three servers, design a kind of when the new user registration login server allocation algorithm, the need to consider after the distribution, each server is best able to balance the total user, at the same time, considering the current online users, each server to ensure that new users can the current big probability to choose a better server performance,

I want to use weights randomly assigned, but if only consider a factor, is easy to implement, but now combine two or more factors to design a random weighting allocation algorithm has no good ideas, hope everybody heavyweight directions,
  • Related