22aac1abd5
no issue Began tracking the following metrics when purging the redis cache: 1. cache_reset_scan - total time to scan the keyspace 2. cache_reset_delete - total time to delete all the matching keys 3. cache_reset - total time in ms to reset the cache 4. cache_reset_keys - total number of keys deleted We can reduce the granularity of these alerts to reduce the load on elastic eventually, but for now it would be nice to collect metrics at this granularity so we can optimize the cache purging performance. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Adapter Cache Redis
Redis based cache adapter with support of Redis cluster
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests