Re:Ruby Concurrency Final Report
by ketamine__ on Friday April 17, 2020 @10:47AM
(#22899396)
You can replicate the issue by doing this:
1) Setup 100-500 sql servers.
2) Artificially increase the amount of time needed to finish connect sequence (> 10 seconds). I have no idea how to do this but it's a likely scenario in my use case of servers on cellular connections.
2) Setup X number of threads to make a connection with TinyTds.
3) Those threads should return immediately but with my testing they did not. Only one connection could be in progress at any given time.
1) Setup 100-500 sql servers. 2) Artificially increase the amount of time needed to finish connect sequence (> 10 seconds). I have no idea how to do this but it's a likely scenario in my use case of servers on cellular connections. 2) Setup X number of threads to make a connection with TinyTds. 3) Those threads should return immediately but with my testing they did not. Only one connection could be in progress at any given time.