Skip to content

Support for Multi-Tenant Memcached Servers #1

Description

@pearkes

In order to accomplish this, you must pass a username and password with your servers on pylibmc.Client():

pylibmc.Client(servers, username, password)

(pylibmc source)

You could then initialize the cache:

>>> from cachecore import MemcachedCache
>>> c = MemcachedCache(servers, username, password)
>>> c.set("foo", "value")
>>> c.get("foo")
'value'
>>> c.get("missing") is None
True

This would allow support for multi-tenant memcached servers on platforms like Heroku.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions