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

Threads block on connect with poor connectivity #453

Closed
atomical opened this issue Jan 20, 2020 · 1 comment
Closed

Threads block on connect with poor connectivity #453

atomical opened this issue Jan 20, 2020 · 1 comment

Comments

@atomical
Copy link

I have 50 threads and each make a separate connection to a unique IP address, run a query, and return the result. There is no need for connection pooling in this scenario.

These servers have atrocious connectivity (unlike 99% of the common use cases for this gem where the server is readily available in a production environment). Only one thread is running at a time. Even with 50 threads I'm only seeing one timeout every 20 seconds.

All the connects use IP addresses so I don't think DNS resolution is blocking. Is this a known issue?

@atomical
Copy link
Author

Found it: #421

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

1 participant