In the application I'm developing, I use pconnect, because it uses a connection pool and in terms of hardware - one server supports one connection to memcache. I donβt know exactly how this works, but I think memcached is smart enough to keep track of the IP address of the memcached client machine.
I played with memcached for a long time and found that using memcache :: getStatus shows that the number of connections when using pconnect does not increase.
You can use the debug page, which shows memcached statistics and tries to configure pconnect or connect and see what happens.
source share