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:
{ "redis": { 'host': 'localhost', 'port': 6379, 'ttl': 3600, 'memory_cache_size': 1000, 'pool': { 'minsize': 5, 'maxsize': 100 } } }
TODO
stats
api endpoint to… - inspect, get stats - clear
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d35a2965e16f03f5ee1053553ddacafe1dcd8d7d98a18eabdb48c8fcbe9bfc3 |
|
MD5 | bc15bc1fdea5e2cfea67b3abae5aa11e |
|
BLAKE2b-256 | b6c2e1503bc5f6f4e5e633bec3145e5305217aa462bc93073a46f568de3c0929 |
Close
Hashes for guillotina_rediscache-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830c0f5c0292b01ccf8593da2ec14ccac4deddc716d58b87ae6caf41c4c7a090 |
|
MD5 | 2f6bcc3be8a3dd1651a9a9a2a7cca180 |
|
BLAKE2b-256 | 0dcff6a3295199ec778b40207d796ba13251d62d3c14d4d5bfdc71f66283bc9f |