Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement distributed protocol for multiple SMs #58

Open
massenz opened this issue Nov 1, 2022 · 0 comments
Open

Implement distributed protocol for multiple SMs #58

massenz opened this issue Nov 1, 2022 · 0 comments
Labels
api documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@massenz
Copy link
Owner

massenz commented Nov 1, 2022

Currently, running multiple SM servers behind a gateway or reverse-proxy, all connected to the same Redis cluster, could cause races and inconsistencies if events for the same FSM are processed out-of-order.

We should at least consider a leader/follower architecture, with the replicas being read-only (possibly having the primary to be event-processing only).
Alternatively, the followers could be standby only, and ready to take over in case of primary failures, but otherwise not processing any request at all.

This needs some careful considerations, and also a clear definition of use-cases and requirements.

@massenz massenz added documentation Improvements or additions to documentation enhancement New feature or request api labels Nov 1, 2022
@massenz massenz added this to the v1 Release milestone Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant