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

Multithreading #215

Closed
hazar34 opened this issue May 2, 2017 · 3 comments
Closed

Multithreading #215

hazar34 opened this issue May 2, 2017 · 3 comments
Milestone

Comments

@hazar34
Copy link

hazar34 commented May 2, 2017

Hi! I'm using this library to run queries on few client VDS, and I found that execution does not work in multiple threads. Work in a multithreaded mode is blocked by functions like AuthenticationConnection.Wait()
Is it possible to make a real multithreading?

@baldec
Copy link

baldec commented Dec 4, 2017

I would second this.

We are currently monitoring nodes that only have ssh access using this. And thus we open a connection to the nodes and just monitor if it goes down or not. And on certain criterias we take action.

The issue is that when monitoring a large amount of nodes, and the connectivity goes down then reconnect is attempted against all nodes. And instead of trying against all nodes(or the thread limitation) at once it takes a few, wait for the timeout, takes a few and so on.

It would be lovely if it would be possible to improve the library so that this limitation was removed.

@Rob-Hague
Copy link
Collaborator

The AuthenticationConnection semaphore has been removed in #1304

@WojciechNagorski
Copy link
Collaborator

This issue has been fixed in the 2024.0.0 version.

@WojciechNagorski WojciechNagorski added this to the 2024.0.0 milestone Feb 22, 2024
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