You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send three parallel request to a soap api. Normally each request takes around 13 seconds to complete so for three requests it takes around 39 seconds. After using parallel gem and sending three parallel requests using 3 threads it takes around 23 seconds to complete all three requests which is really nice but I'm not able to figure out why its not completing it in like 14-15 seconds. Its not an issue actually but as you know alot about parallel processing so I thought maybe you can point me in the right direction.
The text was updated successfully, but these errors were encountered:
The endpoint could be slower when it's hit by multiple requests at a time or maybe your network connection is bad :)
You could do a something like this to get deeper insights
puts "Start"
puts(Benchmark.realtime do
do-api-call
end)
puts "STOP"
I'm trying to send three parallel request to a soap api. Normally each request takes around 13 seconds to complete so for three requests it takes around 39 seconds. After using parallel gem and sending three parallel requests using 3 threads it takes around 23 seconds to complete all three requests which is really nice but I'm not able to figure out why its not completing it in like 14-15 seconds. Its not an issue actually but as you know alot about parallel processing so I thought maybe you can point me in the right direction.
The text was updated successfully, but these errors were encountered: