An oslo.config enabled dogpile.cache.
Go to file
Hervé Beraud f4fa6aa6fa Add socket keepalive options to oslo.cache
This patch specifies a set of options required to setup the
socket keepalive of the dogpile.cache's pymemcache
backend [1][2]. This setup from those options can later on
be passed to this backend.

This patch also sets up the socket keepalive object based on
the configuration options passed via oslo.config and adds it
as an argument to be passed to the selected oslo.cache backend.

Dogpile.cache will be used as an interface between oslo.cache and
pymemcache [3].

[1] https://github.com/sqlalchemy/dogpile.cache/pull/205
[2]
b289c87bb8
[3]
https://dogpilecache.sqlalchemy.org/en/latest/api.html?highlight=keepalive#dogpile.cache.backends.memcached.PyMemcacheBackend.params.socket_keepalive

Change-Id: I501100e1a48cdd4e094c08046e2150405dcf371e
2022-01-07 11:58:28 +01:00
doc Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
oslo_cache Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
playbooks/tests/functional Refactoring functional tests based on standard usages 2020-05-28 14:34:47 +02:00
releasenotes Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
tools Avoid tox_install.sh for constraints support 2019-05-04 07:02:41 +02:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:42:30 +00:00
.gitignore Adding functional tests 2020-05-14 14:45:12 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:50 +00:00
.mailmap Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-03-23 13:07:33 +01:00
.stestr.conf Adding functional tests 2020-05-14 14:45:12 +02:00
.zuul.yaml Add Python3 yoga unit tests 2021-09-10 14:33:45 +00:00
bindep.txt Add Memcached functional tests to gate 2020-08-20 14:41:47 +02:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:18:10 +02:00
HACKING.rst update the doc URLs 2017-07-11 21:51:41 +08:00
LICENSE Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
README.rst Replace git.openstack.org URLs with opendev.org URLs. 2019-05-09 09:15:16 +02:00
requirements.txt Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
setup.cfg Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
setup.py remove outdated header 2020-02-10 18:34:34 +01:00
test-requirements.txt Add socket keepalive options to oslo.cache 2022-01-07 11:58:28 +01:00
tox.ini Merge "Use py3 as the default runtime for tox" 2021-04-16 11:42:28 +00:00

Team and repository tags

image

oslo.cache

Latest Version

Downloads

oslo.cache aims to provide a generic caching mechanism for OpenStack projects by wrapping the dogpile.cache library. The dogpile.cache library provides support memoization, key value storage and interfaces to common caching backends such as Memcached.