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

Communicate via durable store? #9

Open
adammck opened this issue May 12, 2022 · 0 comments
Open

Communicate via durable store? #9

adammck opened this issue May 12, 2022 · 0 comments
Labels

Comments

@adammck
Copy link
Owner

adammck commented May 12, 2022

We currently communicate between rangerd and rangelets via gRPC. But we write the range and placement states to durable storage (via the Persister; only Consul, for now) first, so the RPCs could simply be considered a notification that the contents of the store have changed. As such, the rangelets could also just watch the store for the changes, and react accordingly. Would need to index placements by nodeID rather than inside of ranges, to avoid nodes having to read the entire range map.

Unsure how the nodes would communicate their actual state (RemoteState) and health back to rangerd in this scenario. Maybe still RPC probes?

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

No branches or pull requests

1 participant