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

Replace cluster implementation with standardized protocol #780

Open
mKeRix opened this issue Jun 27, 2021 · 1 comment
Open

Replace cluster implementation with standardized protocol #780

mKeRix opened this issue Jun 27, 2021 · 1 comment

Comments

@mKeRix
Copy link
Owner

mKeRix commented Jun 27, 2021

While the current cluster implementation works, it's not without its issues and isn't well maintained. Instead, it might make sense to switch to a more standardized protocol for communication between the instances, like zyre (based on ZeroMQ). This would also allow other people to write software that integrated with room-assistant natively, e.g. an ESPHome integration that could feed Bluetooth data to a room-assistant cluster.

zyre.js is a NodeJS implementation of that protocol - it's missing the leader election APIs, but that could be added via a PR.

@jippi
Copy link

jippi commented Jul 9, 2022

I would be amazingly happy if it used Consul for cluster and state management - its quite light-weight ,resilient and easy to work with - and incredible well tested/implemented. It's a fairly light-weight daemon too for small clusters :)

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

No branches or pull requests

2 participants