Lock on Memcache

José Celestino japc at co.sapo.pt
Mon Oct 27 10:24:12 EDT 2014


On 10/24/2014 02:58 PM, Cantor, Scott wrote:
> On 10/24/14, 8:11 AM, "Jose Celestino" <japc at co.sapo.pt> wrote:
>> I'm trying to debug some performance issues, that I think are related to
>> a
>> lock on some memcache functions on memcache-store.cpp, namely
>> getMemcache().
>>
>> What's the rationale for those locks? Is it because of thread safe issues
>> with libmemcached? Because otherwise it makes little sense, at least in
>> our
>> scenario where we have a shibd per server, and the local locking gets
>> somewhat lost in the server farm bigger picture.
> No idea, I didn't write the code. I would assume thread safety would be a
> likely reason, but I don't use memcache, so I have no idea how the library
> works.

Ok, thank you.

But this list is the right place to ask about it, right?



More information about the dev mailing list