Re: Reviewing a script to demo memcache get-set race conditions problems if it is used for distributed locking.

2016-06-10 Thread Nishant Varma
Hi Dormando, Normally in our application memcache is used for the purpose of caching database values but someone from the implementation team decided to use memcache for locking which lead us to this code that works 99% only. I am just trying to make it better especially since we know that race

Re: Reviewing a script to demo memcache get-set race conditions problems if it is used for distributed locking.

2016-06-10 Thread Nishant Varma
Hi Dormando, Normally in our application memcache is used for the purpose of caching database values but someone from the implementation team decided to use memcache for locking which lead us to this code that works 99% only. I am just trying to make it better especially since we know that race