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

Feature request (anycast) #47

Closed
hissssst opened this issue Dec 17, 2019 · 2 comments
Closed

Feature request (anycast) #47

hissssst opened this issue Dec 17, 2019 · 2 comments

Comments

@hissssst
Copy link

I found myself implementing this feature many times and I think that this feature would be useful to be shipped with syn.
By anycast I mean sending message to one process of the group which is choosen with some algorithm.

Possible algorithms:

  • Random member of group
  • Round robin
  • Random process on the same node

I don't think that in would be useful, but anycall would make sense too

@ostinelli
Copy link
Owner

I'm currently working on v3 so I'm reviewing all open issues.

I think that choosing a process randomly in a group to send a message is an application-specific matter, as the type of algorithm might have a relation with the reason one is choosing a process from a group.

It looks to me this can be left to the developer, by retrieving the processes (and eventually, getting only the local ones) and selecting one as they please.

Is there a specific and common use case that you'd like to share to see whether this can become part of the core?

Thank you for your suggestion.

@ostinelli
Copy link
Owner

Closing.

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

No branches or pull requests

2 participants