guillotina cache implementation using redis + lru in-memory cache
Project description
guillotina_rediscache implements redis into guillotina with an additional in-memory layer cache.
In order to coordinate invalidating the in-memory cache, guillotina_rediscache utilizes the pub/sub feature redis provides.
Configuration
app_settings for this:
{ "databases": { "db": { ... "cache_strategy": "redis" ... } }, "redis": { 'host': 'localhost', 'port': 6379, 'ttl': 3600, 'memory_cache_size': 1000, 'pool': { 'minsize': 5, 'maxsize': 100 } } }
1.0.6 (2017-10-19)
Use ujson [vangheem]
1.0.5 (2017-10-02)
Track all keys needing invalidation and do invalidation in an async task so the request can finish faster. [vangheem]
1.0.4 (2017-05-29)
Test fixes [vangheem]
1.0.3 (2017-05-26)
Fix delete not properly invalidating cache [vangheem]
1.0.2 (2017-05-15)
Fix channel publishing invalidations [vangheem]
1.0.1 (2017-05-15)
Fix release
1.0.0 (2017-05-15)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for guillotina_rediscache-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d864c27649ed5f78a9963909415c0cedf615c888df4f761ccde654c8d488141 |
|
MD5 | 5752df83d098b1d07f3b766e74f1813c |
|
BLAKE2b-256 | 27bb79d43bc546e7ca26ae520beef17a74b6b270b0313b0eeda74e01329843b6 |
Close
Hashes for guillotina_rediscache-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e8b49ab2863a94b0ac15faf1bc6201f0245f2746ed5ea22cc0c579945eb26f |
|
MD5 | 2c426de99e2b1827e97e76af8b44bb64 |
|
BLAKE2b-256 | 4ef7b0673b54a8a98e942ec04dc177ecd8c21a19648b296ea20dbbf1f249b9de |