You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use cockatiel but my app is running on multiple servers. Is there a way to share a state (for circuit breaker example) between different servers? If an API is down, I would like all of them to stop sending traffic. I think everything is in-memory here, but I'd like to know if there is a way to "plug" another implementation like redis.
If it's not implemented, is it because it's a bad idea? 😅
Thank you :)
The text was updated successfully, but these errors were encountered:
Hello @connor4312, @novemberborn,
I have almost the same question, I'm considering Cockatiel for the AWS serverless architecture and I need to share Circuit Breaker state between Lambda invocations. It can be DynamoDB as a storage. For example, there is a such capability Opossum library provides and can be achieved in this way:
const breakerState = breaker.toJSON();
const breaker = new CircuitBreaker({state: state});
Hello,
I'd like to use cockatiel but my app is running on multiple servers. Is there a way to share a state (for circuit breaker example) between different servers? If an API is down, I would like all of them to stop sending traffic. I think everything is in-memory here, but I'd like to know if there is a way to "plug" another implementation like redis.
If it's not implemented, is it because it's a bad idea? 😅
Thank you :)
The text was updated successfully, but these errors were encountered: