Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Circuit breaker for Cassandra event log #173

Closed
krasserm opened this issue Dec 17, 2015 · 0 comments · Fixed by #189
Closed

Circuit breaker for Cassandra event log #173

krasserm opened this issue Dec 17, 2015 · 0 comments · Fixed by #189
Assignees
Milestone

Comments

@krasserm
Copy link
Contributor

A circuit breaker is an actor that wraps an EventLog actor. If an event log actor is busy re-trying a write longer than a configurable limit, the circuit breaker starts rejecting incoming requests (that require interaction with the storage backend). This prevents event-log and event-sourced actor queues from growing during communication problems with the storage backend. If communication with the storage backend returns to normal, the circuit breaker is closed again. Depends on #176 and is a prerequisite for #174.

@krasserm krasserm self-assigned this Dec 17, 2015
@krasserm krasserm added this to the 0.5 milestone Dec 17, 2015
@krasserm krasserm changed the title Asynchronous event storage SPI Circuit breaker for event log Dec 17, 2015
@krasserm krasserm changed the title Circuit breaker for event log Circuit breaker for Cassandra event log Jan 6, 2016
krasserm added a commit that referenced this issue Jan 9, 2016
krasserm added a commit that referenced this issue Jan 10, 2016
- closes #173
- fixes #174

Further changes

- Undo write request timeouts from previous commits (as they caused chaos tests to fail)
- Detailed documentation about failure handling strategies
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant