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
{{ message }}
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
Currently running into a deadlock problem where micro service A is hitting micro service B which is hitting micro service A again. The deadlock causes a timeout.
With a controller like
class StatusController < ApplicationController
def index
sleep 25
end
end
and the following:
time curl machine.dev &
time curl machine.dev &
we end up seeing request 1 takes 25.x seconds and request 2 takes 52 seconds to complete.
In my example, sleep is called just twice by curl.
It also seems like there is a difference in the behavior of how prax runs my different rails apps if I have the application launched with rubinius instead of MRI. I am not entirely sure that changing PRAX_APP_THREADS or PRAX_THREADS is changing anything in how the system behave.
Currently running into a deadlock problem where micro service A is hitting micro service B which is hitting micro service A again. The deadlock causes a timeout.
With a controller like
and the following:
we end up seeing request 1 takes 25.x seconds and request 2 takes 52 seconds to complete.
We have tried the following
.praxconfig
:The text was updated successfully, but these errors were encountered: