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

Decentralization Client: Implement Preferred Node algorithm #1547

Open
mkysel opened this issue Jan 24, 2025 · 0 comments
Open

Decentralization Client: Implement Preferred Node algorithm #1547

mkysel opened this issue Jan 24, 2025 · 0 comments
Labels

Comments

@mkysel
Copy link
Contributor

mkysel commented Jan 24, 2025

Is your feature request related to a problem?

In theory, the client can submit a message to any node, but the system behaves nicer if all clients select the same node for each group.

We might want to let the payer decide who to route through (xmtp/xmtpd#431) which might make this issue obsolete.

We are thinking of using stable/consistent hashing to pick a node based on the group hash and the available node pool size.

We might need a selection algorithm implemented in this library regardless of 431, if we have a payer-lite implementation in Rust that is used by self-paying bots that do not need a payer service.

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

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

No branches or pull requests

1 participant