I have script storing caching information with memcache that has 4 servers added to the pool. All of which are equal in weight. However, one of the servers seems to be used much more frequently than the others. I've been scouring the php docs to try to figure out how it is determined which server is going to be used to store cache data next, but can't find any specifics. Does anyone know how this is done? Also, I am aware that this could simply be a coincidence and that randomization could have simply provided seemingly un-random results, but I need to be able to rule out everything else in order to show this to be the case. Thanks in advance, ~Thorlax
Most likely coincidence since it routes to a server based on the key hash. Â If you have one popular key that is used a lot, that key always goes to a specific server.