Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
guillotina-rediscache
Advanced tools
.. image:: https://travis-ci.org/guillotinaweb/guillotina_rediscache.svg?branch=master :target: https://travis-ci.org/guillotinaweb/guillotina_rediscache
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.
app_settings for this::
{
"databases": {
"db": {
...
"cache_strategy": "redis"
...
}
},
"redis": {
'host': 'localhost',
'port': 6379,
'ttl': 3600,
'memory_cache_size': 209715200,
'pool': {
'minsize': 5,
'maxsize': 100
}
}
}
Using guillotina run command::
./bin/g run --script=measures/serialize.py -c measures/config.yaml
With profiling::
./bin/g run --script=measures/serialize.py -c measures/config.yaml --line-profiler --line-profiler-matcher="*serialize*"
When applying invalidations, make sure to not allow another starting transaction to conflict with asyncio invalidation task [vangheem]
Fix endpoint @redis-clear-cache [masipcat]
cluster_mode
option.
[vangheem]Improve request performance [vangheem]
Change the way we're using the redis pool so it reuses connections [vangheem]
self.get_redis()
[vangheem]FAQs
guillotina cache implementation using redis + lru in-memory cache
We found that guillotina-rediscache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.