Closed beelchester closed 2 days ago
For me this showed up at the 3rd run of ./wrk/bench.sh but then I restarted the server and tried to reproduce the issue and couldn't do it
Using 4 core 16GB RAM codespace
I've prepared a fix https://github.com/tailcallhq/tailcall/pull/2291 for this.
You can try it to see if it fixes the issue for you.
Yes, it has fixed the issue for me. Thanks!
Prerequisites
Describe the bug
On
dedupe:true
, If I make multiple concurrent n+1 query requests It doesn't respond.Steps to reproduce
dedupe: true
ingraphql/tailcall/benchmark.graphql
./run.sh
script ortailcall start benchmark.graphql
(for better logs)wrk/wrk.lua
changewrk.body
to'{"operationName":null,"variables":{},"query":"{posts{id,userId,title,user{id,name,email}}}"}'
./wrk/bench.sh
.Expected behavior
Tailcall should respond and the benchmarks should work all the time.
Actual behavior
On the first run of
./wrk/bench.sh
it might work correctly but try running it 2-3 more times. It doesn't respond and the benchmark shows all 0Screenshots
https://github.com/tailcallhq/tailcall/assets/73148455/7905b2de-45f0-419e-ad58-ef873ae772c3
Environment information:
Additional context
I'm working on https://github.com/tailcallhq/graphql-benchmarks/pull/258