relay
relay copied to clipboard
Redis: One Pool per usecase
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.
Can you reiterate which services (EnvelopeProcessor, ProjectCache, RelayStats) need access to which Redis pools?
-
ProjectCacheneeds project configs -
RelayStatsneeds all pods (it just exports pool metrics via statsd, we want these stats for all pools) -
EnvelopeProcessorneeds cardinality, quotas and misc (metric meta)