Home > other >  Strives for the random algorithm
Strives for the random algorithm

Time:09-26

Simple model as follows, I am a client can connect multiple servers, load balancing server did not do, have no way to let the client connect server, random number of connections on the server is roughly balanced

CodePudding user response:

Rand
random_suffle

CodePudding user response:

It is not simple, just a random algorithm, using the client's connection, become,
The initial tencent, did just that,

CodePudding user response:

Rand useful the random function is possible
  • Related