-
Notifications
You must be signed in to change notification settings - Fork 11
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
Implement a channel between nodes without a central server? #10
Comments
I haven't written a channel like that yet, but it's totally doable.
|
thank you! I just now noticed the channel-interface file. I'll look into it. |
I noticed something else, in the readme you use a channel with |
@ben-ng I'm sort of new to node.js programming, would the p2p channel effectively need to start a TCP server in the constructor so that each node has a server? And then in the _connect method there would be logic connecting to each node? I'm just a bit confused as to how the concept of a Channel maps to a bunch of nodes. Each example channel connects to one external service at the moment. |
Yes, the channel would start a server and then connect to each node. |
Closing in favor of #12 |
I'd like to allow nodes to communicate without needing to use redis or sockets.io, is there a recommended way to do this in gaggle, assuming I have the IPs of the nodes?
The text was updated successfully, but these errors were encountered: