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

Move to single event loop #19

Open
gwint opened this issue Jul 5, 2021 · 0 comments
Open

Move to single event loop #19

gwint opened this issue Jul 5, 2021 · 0 comments

Comments

@gwint
Copy link
Owner

gwint commented Jul 5, 2021

Idea taken from https://medium.com/swlh/raft-consensus-protocol-implementations-2b487320a5fc. The code can be simplified if, instead of using a thread-based approach, I used a single event loop. This will allow for the removal of all code dedicated to making sure threads access shared state in a synchronized fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant