Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dataflake/products.mcdutils

Zope session implementation with Memcached backend
https://github.com/dataflake/products.mcdutils

memcached-client python zope zope-application zope4 zope5

Last synced: 13 days ago
JSON representation

Zope session implementation with Memcached backend

Awesome Lists containing this project

README

        

.. image:: https://github.com/dataflake/Products.mcdutils/actions/workflows/tests.yml/badge.svg
:target: https://github.com/dataflake/Products.mcdutils/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/dataflake/Products.mcdutils/badge.svg
:target: https://coveralls.io/github/dataflake/Products.mcdutils

.. image:: https://readthedocs.org/projects/mcdutils/badge/?version=latest
:target: https://mcdutils.readthedocs.io
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/Products.mcdutils.svg
:target: https://pypi.python.org/pypi/Products.mcdutils
:alt: Current version on PyPI

.. image:: https://img.shields.io/pypi/pyversions/Products.mcdutils.svg
:target: https://pypi.python.org/pypi/Products.mcdutils
:alt: Supported Python versions

===================
Products.mcdutils
===================

The `Products.mcdutils` product supplies a replacement for the ZODB-based
session data container supplied by the `Transience` product, shipped with
the Zope core prior to Zope 4 and available as a separate package after that.
Rather than using a ZODB storage as the backing store for session data, as
`Transience` does, `Products.mcdutils` stores session data in a cluster of
one or more `memcached` servers.

This approach is a bit of a cheat, as it uses the daemons as primary stores,
rather than as caches for results of an expensive query. Nevertheless, the
semantics are not a bad match for typical session usage.