Ghost/ghost/adapter-cache-redis
Chris Raible 22aac1abd5
Added performance metrics to redis cache purging (#19039)
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.
2023-11-17 00:17:16 -08:00
..
lib Added performance metrics to redis cache purging (#19039) 2023-11-17 00:17:16 -08:00
test Added extra redis cache adapter configuration options 2023-10-31 13:58:22 +00:00
.eslintrc.js Added adapter-cache-redis package 2023-02-13 19:01:43 +08:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
README.md Added adapter-cache-redis package 2023-02-13 19:01:43 +08:00

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.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests