Let's throw a GUESS and say 50k different mob objects in game, so, a player
needs an array of 50k*2 bytes (2 bytes should be enough if implemented wisely,
perhaps even one byte). That's 100kb/player at most.
Then we have perhaps hmm, 10k players? 10k*100k ends up in approximately 1G -
which is not a problem. You can double all the guesses I gave and still there
won't be a problem with 8G.
Then again my hasty maths might be wrong, and I might be wrong
Let's throw a GUESS and say 50k different mob objects in game, so, a player
needs an array of 50k*2 bytes (2 bytes should be enough if implemented wisely,
perhaps even one byte). That's 100kb/player at most.
Then we have perhaps hmm, 10k players? 10k*100k ends up in approximately 1G -
which is not a problem. You can double all the guesses I gave and still there
won't be a problem with 8G.
Then again my hasty maths might be wrong, and I might be wrong
and you would only need make 2 sql queries per player every time when a monsie
gets killed or considered so lag is not that big of an issue either.