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.11 (2017-11-08)
Handle CancelledError [vangheem]
1.0.10 (2017-11-06)
upgrade for guillotina 2.0.0 [vangheem]
1.0.9 (2017-10-23)
Fix handling connection objects and releasing back to pool [vangheem]
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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f922093d2c3999577c4bdfc7a023d03203a71115508e03ee8b92a56cfd55055 |
|
MD5 | e83e2f09671b8425f47ed59d98ca399f |
|
BLAKE2b-256 | 339fa72f637aeb836a4ba4a5c125cf7ae45a0d8250b0530dd925a83a874bb462 |
Hashes for guillotina_rediscache-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7a74dada04c6464de190706e6f093c2d5efb6988a74cd33016e969718e441c5 |
|
MD5 | e5e947ccc921c212cc1a494c06118733 |
|
BLAKE2b-256 | f0343ed61e731efb1b7cadd910d8c8ac327c4fb46d09d0027e03e2e8f0c0da8d |