Separate Caching Redis from Webhooks Redis #3282
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Environment
Proposed Functionality
Having the ability to configure a separate Redis connection for the caching purpose and one for the webhooks delivery purpose.
Use Case
The Redis required for caching has different requirements regarding data persistency than the Redis for delivering webhooks.
While it doesn't matter for the caching Redis if the data is lost, I would try to avoid data loss for the webhooks Redis.
They also have two different access patterns: One is only ever accessed by one client, i.e. my Netbox instance, while the other is accessed by potentially many clients, i.e. at least one Netbox instance and at least one webhook worker.
And in a container-world this matters: The caching Redis would be an instance that is deployed as a sidecar to the Netbox instance, i.e. in the same pod. The webhooks Redis is a shared instance and would therefore be deployed on it's own, potentially with slaves for redundancy purposes, and definitely have some kind of persistent storage attached.
Therefore it would be nice if I could configure two Redis instances in Netbox, one for caching and one for delivering webhook invocations.
Database Changes
Not necessary
External Dependencies
None
The text was updated successfully, but these errors were encountered: