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.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
File details
Details for the file guillotina_rediscache-1.0.7.tar.gz
.
File metadata
- Download URL: guillotina_rediscache-1.0.7.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f10699189784d1b8af2eef5d3db0c78b80709ef439112991c3df346770a4225e |
|
MD5 | 66ae3fe1cfd71ca68dd36de2cbed7dd7 |
|
BLAKE2b-256 | af705c052115f97de38bd2ac1efabdc66ed3034025132b3c4caca0a9a71a3c74 |
File details
Details for the file guillotina_rediscache-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: guillotina_rediscache-1.0.7-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cfb27f97c7f4b12b81485d962ab1a68dc97dbc1a58dec725d9306602442b998 |
|
MD5 | 8ae2e0dd0d7a83c8baacdc47016a12fc |
|
BLAKE2b-256 | 4ce238751843d0fc0fc55b20b28682f193c1685e1346165d20c1444c7fbebdb5 |