alir
07/21/2020, 3:56 PMPOST
to the /graphql
endpoint. I'm on 0.8.1 now and it looks like if I issue multiple POST
requests at the same time (around 5 or so), then the server goes into some deadlock-ish state and refuses to accept any more connections. Dagit becomes completely unusable. But if I issue pipeline launch requests using websockets to the same endpoint, I have no issues. Does this sound like something that's unique to my setup or does it sound like there's a problem somewhere?max
07/21/2020, 4:14 PMalir
07/21/2020, 5:10 PMdagster-graphql
as guidance when I initially wrote this, since it too uses POST to /graphql./graphql
, the dagit UI becomes unresponsive until all /graphql
requests are ack-ed.
I don't mind that if my pipeline launch requests takes a while but I'd like the UI still be responsive. I'm trying to think of a good workaround but nothing I come up with seems satisfactoryLAUNCH_PIPELINE_EXECUTION_MUTATION
to /graphql
, dagit would ack the request in a few ms and move on. But for some reason that I don't yet understand, it takes seconds to ack the request.
Given that the server processes just one request at a time, my hypothesis is that the delays from several LAUNCH_PIPELINE_EXECUTION_MUTATION
requests add up, causing the dagit UI to freeze up/graphql
endpointalex
07/22/2020, 1:53 PMalir
07/22/2020, 1:54 PMalex
07/22/2020, 2:00 PMI have a run launcherhow does your run launcher work?
alir
07/22/2020, 2:05 PMalex
07/22/2020, 2:12 PMalir
07/22/2020, 2:13 PMalex
07/22/2020, 2:13 PMalir
07/22/2020, 2:13 PMalex
07/22/2020, 2:14 PMalir
07/22/2020, 2:16 PMalex
07/22/2020, 2:18 PMalir
07/22/2020, 2:19 PMalex
07/22/2020, 2:22 PM