relay icon indicating copy to clipboard operation
relay copied to clipboard

Redis: One Pool per usecase

Open Dav1dde opened this issue 1 year ago • 2 comments

We should split the Regex pools into multiple pools, one per usecase:

  • Project Config
  • Cardinality
  • Quotas
  • Misc (metric meta)

The configuration should accept the config we already have and use that to configure each pool with these values or share the same pool for all usecases (tbd).

Additionally the config should accept a config for each pool with different configuration values.

Dav1dde avatar Jul 18 '24 12:07 Dav1dde

Can you reiterate which services (EnvelopeProcessor, ProjectCache, RelayStats) need access to which Redis pools?

loewenheim avatar Jul 19 '24 13:07 loewenheim

  • ProjectCache needs project configs
  • RelayStats needs all pods (it just exports pool metrics via statsd, we want these stats for all pools)
  • EnvelopeProcessor needs cardinality, quotas and misc (metric meta)

Dav1dde avatar Jul 19 '24 19:07 Dav1dde