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.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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de60a7547ac9dca040b8bf36fb553bab38a5e5ecdfcb56ec3781c04a6337f7e |
|
MD5 | e5a26fbee6d5d69af298a512735bf05a |
|
BLAKE2b-256 | dc5d337c5b935514e6a7bff98b63f4b3a3aad7d940d94ece7514f47d2f154d53 |
Close
Hashes for guillotina_rediscache-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540c1be7d6283bf7c209a89c0cc972d138e2753a5df5cb7c6a6d0fe165591a03 |
|
MD5 | d9b7ccfbbef4e825e86d7d14c3bfb12d |
|
BLAKE2b-256 | daafa7adc5d1c49ae7a6cd6162189bf473c614f3bdcce1bd6297b42fc9bbcf75 |