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.8 (2017-10-23)
Fix use of pool [vangheem]
1.0.7 (2017-10-23)
Use pickle instead of json from load/dumps because it is much faster [vangheem]
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
Hashes for guillotina_rediscache-1.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c10a50af06b1e1356cbb6bef56f8b5acfa4fee586b2b3651c04efb598e124c9 |
|
MD5 | fbf1319855bedae23e6d0fe69a5c68bc |
|
BLAKE2b-256 | e93ed3ce6b3882c1f1145d37b8ca50653af56f831a0da5d6ea6bc013802c4a0f |
Hashes for guillotina_rediscache-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb085aa1a4829f64c75ec66bd77fcacca9708e1c0ce480976b5160460de2da06 |
|
MD5 | 5e36f04ba63581dad4383aa86139a096 |
|
BLAKE2b-256 | 0987086fa05cce9ff7eea3ae18d4a4642599f58719b0573f56365406296725a4 |