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

Switch to UDP Protocol #34

Open
mitsuhiko opened this issue Jun 20, 2013 · 3 comments
Open

Switch to UDP Protocol #34

mitsuhiko opened this issue Jun 20, 2013 · 3 comments

Comments

@mitsuhiko
Copy link

TCP requires a handshake and is slow. Can we please use UDP as protocol instead? Maybe provide some sort of support to make it a bit reliable in safe mode though I don't think that will be necessary.

@dcramer
Copy link
Owner

dcramer commented Jun 20, 2013

Maybe we should just UDP broadcast all commands when we aren't running in safe mode. Should we do two-way UDP? Broadcast and then listen on sockets when you need a result? It seems like the async methodology of two-way UDP would fit very well.

@tkaemming
Copy link
Collaborator

Should we do two-way UDP? Broadcast and then listen on sockets when you need a result?

It's might also be worth considering adding some features to this two-way UDP "safe mode" idea, like making sure packets can be reordered in case of out-of-order delivery, retries for lost packets, error checking, and congestion. I'm surprised nobody has thought of this before… maybe there's a node.js library to add this kind of functionality to UDP?

@mattrobenolt
Copy link
Contributor

Have you guys considered using the Hadoop protocol?

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

No branches or pull requests

4 participants