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

Enable fire and forget rpc calls. #5

Open
F483 opened this issue Dec 7, 2015 · 1 comment
Open

Enable fire and forget rpc calls. #5

F483 opened this issue Dec 7, 2015 · 1 comment

Comments

@F483
Copy link

F483 commented Dec 7, 2015

Currently the protocol assumes that every request is to receive a response. Since the protocol is for UDP where lost packets are to be expected, users cannot rely on getting a response and may design there usage so that it is not required.

For this case it can be of an advantage to enable fire and forget calls that do not require a response and thus reduce traffic. To enable this an additional datagram prefix could be used.

PS: I plan eventually adding end to end encryption to rpcudp, or forking if it makes more sense. Since this would break compatibility. I'm adding additional issues that also would require a break. This should keep everyone on the same page as to a possible future direction.

@bmuller
Copy link
Owner

bmuller commented Dec 7, 2015

I'd accept a PR for this.

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