Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.