Skip to main content

A caching integration for Yosai

Project description

Yosai DPCache: "DogPile" Cache Integration
This is a Yosai integration that is a fork of the dogpile project authored by Mike Bayer.

The dogpile project consists of two sub-projects: dogpile.core and dogpile.cache.
Yosai_DPCache is a fork of these projects, replacing pickle-based serialization with
serialization supported by Yosai and making a few other customizations.

Yosai reduces objects to their serializable form using the ``marshmallow`` library,
encodes the "reductions" with msgpack, json, or other encoding scheme, and then caches
the objects.

Objects obtained from cache are de-serialized back into their reduced forms and then
re-materialized into Yosai objects.

Install YosaiDPCache from PyPI using pip: ``pip install yosai_dpcache``

Dev Status (as of YosaiDPCache v0.0.5)

Redis is Ready for Use
Only Redis support has been implemented and ad-hoc tested.

Unit testing is Pending
Integrated testing of yosai includes YosaiDPCache, and so YosaiDPCache
is included with automated testing. However, YosaiDPCache needs its own
unit tests covering its customizations.

Project details

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page