Slackbot
12/18/2022, 3:10 AMJay Yang
12/18/2022, 7:33 PMdruid.server.http.numThreads=2000
druid.processing.numThreads=31
we’ve been seeing this on larger clusters but can reproduce the behavior in a cluster with only 4 historical boxes.Vijay Narayanan
12/18/2022, 9:05 PMJay Yang
12/18/2022, 10:40 PMVijay Narayanan
12/18/2022, 11:36 PMVijay Narayanan
12/18/2022, 11:38 PMJay Yang
12/19/2022, 5:33 AMVijay Narayanan
12/19/2022, 6:43 AMKaran Kumar
12/20/2022, 5:54 AMJay Yang
12/20/2022, 6:44 PMJay Yang
12/20/2022, 7:27 PMdruid.broker.http.numConnections the config control that the number of open connection? if so we have experimented with 500 while numThread set to 600, so it should always less than http thread unless it’s not getting honoredKaran Kumar
12/23/2022, 5:46 AMSome questions - Within what range the number is proper/acceptable? What config control that number?I think if
numOpenConnections are constantly less than < druid.server.http.numThreads we should be good.
what happen to those requests that cannot get open connection?Idk I have not tried it. I think the connection might be rejected but that would be more of a jetty thing.
Regarding the idea of adding more broker, we haven’t give it some thoughts, as even when we tested with qps = 1 for 60 mins we can still see this issues started to happen after 10 - 20 minSince your query is a group by/topn query you might be using merge buffers which might become a bottleneck on the broker. You might want to increase the number of merge buffers and see if that helps.
druid.processing.numMergeBuffers
I think this is more related to broker to historical/indexer. How many historicals/taskslots does queries generally get served by would help decide that number. So for one jetty thread, ie "numThread" we can go out and reach out to 10 historicals and 5 peons so would require atleast 15 connectionsdruid.broker.http.numConnections