so far as I know, single thread with "select" can work well when there are not too many users connected, but as players increases, "select" could eat out all the CPU usages.
My question is: in LPmud, how to accept 2000+ players in one world? It should be a distributed environment, but with what aspect to distribute them? area? function? Also, how to communicate with such a distributed system?
|