openstack-manuals/doc/ha-guide/source/controller-ha-memcached.rst
KATO Tomoyuki 2809ad9edb [ha-guide] Migrate HA Guide into openstack-manuals
Discussion at mailing list:
http://lists.openstack.org/pipermail/openstack-docs/2016-May/008532.html

Change-Id: Icc6761cdda2ca820447153fa7ec046e22cc98129
2016-05-05 23:27:13 +00:00

848 B

Memcached

Memcached is a general-purpose distributed memory caching system. It is used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source must be read.

Memcached is a memory cache demon that can be used by most OpenStack services to store ephemeral data, such as tokens.

Access to memcached is not handled by HAproxy because replicated access is currently only in an experimental state. Instead OpenStack services must be supplied with the full list of hosts running memcached.

The Memcached client implements hashing to balance objects among the instances. Failure of an instance only impacts a percentage of the objects and the client automatically removes it from the list of instances. The SLA is several minutes.