[openstack-dev] [keystone][oslo][designate][zaqar][nova][swift] using pylibmc instead of python-memcached

Monty Taylor mordred at inaugust.com
Fri May 13 15:56:18 UTC 2016

On 05/13/2016 08:23 AM, Mehdi Abaakouk wrote:
> On Fri, May 13, 2016 at 02:58:08PM +0200, Julien Danjou wrote:
>> What's wrong with pymemcache, that we picked for tooz and are using for
>> 2 years now?
>>  https://github.com/pinterest/pymemcache
> Looks like a good alternative.

Honestly, nobody should be using pymemcache or python-memcached or
pylibmc for anything caching related in OpenStack. People should be
using oslo.cache - however, if that needs work before it's usable,
people should be using dogpile.cache, which is what oslo.cache uses on
the backend.

dogpile is pluggable, so it means that the backend used for caching can
be chosen in a much broader manner. As morgan mentions elsewhere, that
means that people who want to use a different memcache library just need
to write a dogpile driver.

Please don't anybody directly use memcache libraries for caching in
OpenStack. Please.


More information about the OpenStack-dev mailing list