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

Allow clients to connect to multiple servers #5

Open
steveatinfincia opened this issue Dec 21, 2014 · 1 comment
Open

Allow clients to connect to multiple servers #5

steveatinfincia opened this issue Dec 21, 2014 · 1 comment
Assignees
Milestone

Comments

@steveatinfincia
Copy link
Member

steveatinfincia commented Dec 21, 2014

The server code is already capable of accepting multiple clients, and the client code could connect to more than one server if it were modified to spawn multiple greenlets with the NetRNGClient.stream() method as the target.

Goal would be either to allow clients to connect and retrieve entropy from multiple servers at the same time (can only help, not hurt), or allow clients to have a sort of failover capability if their current server disappears.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@steveatinfincia steveatinfincia self-assigned this Dec 21, 2014
@steveatinfincia steveatinfincia added this to the 1.0 milestone Dec 21, 2014
@steveatinfincia
Copy link
Member Author

As of 0fa61f0 this technically works, though it's purely a result of zeroconf automatically spawning a greenlet in the client for every available NetRNG server it learns about.

Configuring the client to use a specific server is still limited to a single address.

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

1 participant