Bug 1042115 - [RFE][oslo]: Cache Abstraction Layer for multiple backends
Summary: [RFE][oslo]: Cache Abstraction Layer for multiple backends
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Upstream M2
: 5.0 (RHEL 7)
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/oslo...
Whiteboard: upstream_milestone_icehouse-2 upstrea...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 21:04 UTC by RHOS Integration
Modified: 2014-09-08 05:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-27 13:49:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 21:04:49 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo/+spec/cache-backend-abstraction.

Description:

Provide an abstract class for managing multiple cache backends that can be used in projects needing a cache system.

I.E:

class BaseCache(object):
    passs


class Memcache(BaseCache):
    passs

class Redis(BaseCache):
    passs


def get_cache(....):
    """Gets from configs the cache backend to use"""


Could be imported like:

from openstack.common import cache

cache.get_cache()

Specification URL (additional information):

https://github.com/FlaPer87/oslo-incubator/tree/cache/openstack/common/cache

Comment 2 Stephen Gordon 2014-01-23 20:50:58 UTC
Moving to POST based on upstream status (Implemented).


Note You need to log in before you can comment on or make changes to this bug.