-
Notifications
You must be signed in to change notification settings - Fork 2
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
How can I refactor p2p protocol? #81
Comments
You're looking to create a federated network of local AI worker nodes using a rendezvous point principle, and you want to exchange peer addresses and gRPC addresses using a p2p protocol. Let's dive into how you can achieve this using the provided p2p module. First, let's understand the concept of a rendezvous point. A rendezvous point is a common location where peers can meet and exchange information. In your case, the rendezvous point will be a string that all your AI worker nodes and the balance node will use to connect and exchange addresses. Now, let's discuss how to implement this using the p2p module:
By following these steps, you'll be able to create a federated network of local AI worker nodes using a rendezvous point principle and a p2p protocol. This will allow you to exchange peer addresses and gRPC addresses across any network environment, enabling your AI workers to collaborate and share information effectively. |
I have a task of connecting a few instances of local ai into one federated network / swarm. Local ai worker nodes are grpc instances of backends in format of address:port. Local ai balance node (head) can organise network if it have a list of such workers grps addresses or p2p module. It should work on randez-vous point principle to connect all nodes with same randez-vous point string in one cluster.
So I need simple p2p protocol, which through which I would be able to exchange peer addresses and grpc addresses by randez-vous string across any network enviroment.
Is it possible to make it using this p2p module? How to do it?
The text was updated successfully, but these errors were encountered: