mirror of
https://github.com/zitadel/zitadel
synced 2024-11-23 19:19:19 +00:00
3b7b0c69e6
# Which Problems Are Solved If a redis cache has connection issues or any other type of permament error, it tanks the responsiveness of ZITADEL. We currently do not support things like Redis cluster or sentinel. So adding a simple redis cache improves performance but introduces a single point of failure. # How the Problems Are Solved Implement a [circuit breaker](https://learn.microsoft.com/en-us/previous-versions/msp-n-p/dn589784(v=pandp.10)?redirectedfrom=MSDN) as [`redis.Limiter`](https://pkg.go.dev/github.com/redis/go-redis/v9#Limiter) by wrapping sony's [gobreaker](https://github.com/sony/gobreaker) package. This package is picked as it seems well maintained and we already use their `sonyflake` package # Additional Changes - The unit tests constructed an unused `redis.Client` and didn't cleanup the connector. This is now fixed. # Additional Context Closes #8864 |
||
---|---|---|
.. | ||
actions | ||
activity | ||
admin/repository/eventsourcing | ||
api | ||
auth/repository | ||
auth_request/repository | ||
authz | ||
cache | ||
command | ||
config | ||
crypto | ||
database | ||
domain | ||
eventstore | ||
execution | ||
feature | ||
form | ||
i18n | ||
iam | ||
id | ||
idp | ||
integration | ||
logstore | ||
migration | ||
net | ||
notification | ||
org | ||
project | ||
protoc | ||
qrcode | ||
query | ||
renderer | ||
repository | ||
static | ||
statik | ||
telemetry | ||
test | ||
user | ||
v2 | ||
view/repository | ||
webauthn | ||
zerrors |