Same key got set on multiple memcache servers

2014-04-09 Thread roshan thomas
i am getting wired key setting issue as singe key gets set on more than one memcache server on the pool Using LAMP stack Memcache server version : Version 1.2.6 php 4.4 with memcache client version : 2.2.1 Issue : While getting the key , some times i am getting old stale data . -

Re: Same key got set on multiple memcache servers

2014-04-09 Thread Cyrille Mahieux
Hello I can happen with PHP if your memcached server lists are not in the same order in every script Example : 127.0.0.1:11211 128.0.0.1:11211 is not the same as 128.0.0.1:11211 127.0.0.1:11211 with the key distribution algorithm Never had this bug apart from the above explanation. 2014-04

Idea for reclaimation algo

2014-04-09 Thread Slawomir Pryczek
Hi Guys, im running a specific case where i don't want (actually can't have) to have evicted items (evictions = 0 ideally)... now i have created some simple algo that lock the cache, goes through linked list and evicts items... it makes some problems, like 10-20ms cache locks on some cases. No

Re: Idea for reclaimation algo

2014-04-09 Thread dormando
> Hi Guys, > im running a specific case where i don't want (actually can't have) to have > evicted items (evictions = 0 ideally)... now i have created some simple > algo that lock the cache, goes through linked list and evicts items... it > makes some problems, like 10-20ms cache locks on some ca