OpenStack Identity (Keystone)
Go to file
Yuriy Taraday 0010803288 Add a pool of memcached clients
This patchset adds a pool of memcache clients. This pool allows for reuse of
a client object, prevents too many client object from being instantiated, and
maintains proper tracking of dead servers so as to limit delays
when a server (or all servers) become unavailable.

The new memcache pool backend is available either by being set as the memcache
backend or by using keystone.token.persistence.backends.memcache_pool.Token for
the Token memcache persistence driver.

[memcache]
servers = 127.0.0.1:11211
dead_retry = 300
socket_timeout = 3
pool_maxsize = 10
pool_unused_timeout = 60

Where:
- servers - comma-separated list of host:port pairs (was already there);
- dead_retry - number of seconds memcached server is considered dead
  before it is tried again;
- socket_timeout - timeout in seconds for every call to a server;
- pool_maxsize - max total number of open connections in the pool;
- pool_unused_timeout - number of seconds a connection is held unused in
  the pool before it is closed;

The new memcache pool backend can be used as the driver for the Keystone
caching layer. To use it as caching driver, set
'keystone.cache.memcache_pool' as the value of the [cache]\backend option,
the other options are the same as above, but with 'memcache_' prefix:

[cache]
backend = keystone.cache.memcache_pool
memcache_servers = 127.0.0.1:11211
memcache_dead_retry = 300
memcache_socket_timeout = 3
memcache_pool_maxsize = 10
memcache_pool_unused_timeout = 60

Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com>
Closes-bug: #1332058
Closes-bug: #1360446
Change-Id: I3544894482b30a47fcd4fac8948d03136fd83f14
2014-09-22 20:59:25 +04:00
bin Set the default number of workers when running under eventlet 2014-09-18 11:37:18 -07:00
doc Add a pool of memcached clients 2014-09-22 20:59:25 +04:00
etc Add a pool of memcached clients 2014-09-22 20:59:25 +04:00
examples/pki Example JSON files should be human-readable 2014-07-19 18:09:06 -04:00
httpd Add V3 JSON Home support to GET / 2014-09-10 16:49:21 -05:00
keystone Add a pool of memcached clients 2014-09-22 20:59:25 +04:00
rally-scenarios Add rally performance gate job for keystone 2014-04-30 13:24:32 +00:00
tools Use oslo_debug_helper and remove our own version 2014-09-05 16:27:39 -04:00
.coveragerc Add tests dir to the coverage omit list 2013-09-30 16:07:03 -04:00
.gitignore Sqlite files excluded from the repo 2014-07-23 20:56:19 -05:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 14:48:03 -04:00
.mailmap Merge "Update mailmap entry for Brant" 2014-06-04 00:37:27 +00:00
.testr.conf Fix parallel unit tests keystoneclient partial checkout 2014-04-02 19:19:59 -05:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-07-03 14:45:51 +08:00
HACKING.rst Details the proper way to call a callable 2014-07-23 11:34:33 +00:00
LICENSE Added Apache 2.0 License information. 2012-02-15 17:48:33 -08:00
MANIFEST.in Create TMPDIR for tests recursively 2014-03-24 18:46:36 +01:00
README.rst document keystone-specs instead of LP blueprints in README 2014-06-03 14:34:03 -05:00
babel.cfg setting up babel for i18n work 2012-06-21 18:03:09 -07:00
openstack-common.conf Add the processutils from oslo-incubator. 2014-09-18 11:16:42 -07:00
requirements-py3.txt Updated from global requirements 2014-09-18 22:56:41 +00:00
requirements.txt Updated from global requirements 2014-09-18 22:56:41 +00:00
run_tests.sh Adds run_tests.sh cli option to stop on failure 2014-01-18 10:17:55 -05:00
setup.cfg Open Juno development 2014-03-26 17:57:01 +01:00
setup.py Updated from global requirements 2014-05-30 16:26:25 +00:00
test-requirements-py3.txt Updated from global requirements 2014-09-18 22:56:41 +00:00
test-requirements.txt Updated from global requirements 2014-09-18 22:56:41 +00:00
tox.ini Merge "Use oslo_debug_helper and remove our own version" 2014-09-13 07:18:09 +00:00

README.rst

OpenStack Keystone

Keystone provides authentication, authorization and service discovery mechanisms via HTTP primarily for use by projects in the OpenStack family. It is most commonly deployed as an HTTP interface to existing identity systems, such as LDAP.

Developer documentation, the source of which is in doc/source/, is published at:

http://keystone.openstack.org/

The API specification is available at:

https://github.com/openstack/identity-api

The API documentation is available at:

http://api.openstack.org/api-ref-identity.html

The canonical client library is available at:

https://github.com/openstack/python-keystoneclient

Documentation for cloud administrators is available at:

http://docs.openstack.org/

The source of documentation for cloud administrators is available at:

https://github.com/openstack/openstack-manuals

Information about our team meeting is available at:

https://wiki.openstack.org/wiki/Meetings/KeystoneMeeting

Bugs and feature requests are tracked on Launchpad at:

https://bugs.launchpad.net/keystone

Future design work is tracked at:

https://github.com/openstack/keystone-specs

Contributors are encouraged to join IRC (#openstack-keystone on freenode):

https://wiki.openstack.org/wiki/IRC

For information on contributing to Keystone, see CONTRIBUTING.rst.