Adithya Shetty
05/18/2026, 6:57 PMstopTaskCount=2 , taskCount=4 and replicas=2 , does stopTaskCount stop 2 task groups (all replicas included), or 2 individual tasks(staggering the two replicas)?
2. With same config as above, will both replicas of a task group start at the same time? During intermediatePersistPeriod flushes, will both hit persist roughly simultaneously? If one peon is blocked on merge buffer acquisition, can the broker use the other replica's peon to serve the query, or does it wait for both?Gian Merlino
05/19/2026, 8:59 AMstopTaskCount is an entire group, so 2 means 2 task groupsGian Merlino
05/19/2026, 9:01 AMAdithya Shetty
05/19/2026, 9:21 AMintermediatePersistPeriod and handoff don't happen at same time. If we could offset them, the broker could route to the non-persisting replica when one is blocked on merge buffer acquisition during persist/handoffGian Merlino
05/19/2026, 9:40 AMAdithya Shetty
05/19/2026, 10:08 AMintermediatePersistPeriod set to 5m and we notice every 5m, the query timeouts as there seems to be resource contention as most of thread/buffer are utilised by ingestion + persist, leaving lesser for query to utilise when runningGian Merlino
05/19/2026, 4:42 PMAdithya Shetty
05/19/2026, 5:31 PMAdithya Shetty
06/10/2026, 6:17 PMAbhishek Balaji Radhakrishnan
06/17/2026, 1:19 AMIf too many realtime queries are coming to a single hot MiddleManager node, would having two replicas help distribute that load across two peons on two different nodes?Yes that would help. Task replicas will bind to different MMs and the broker will load balance queries across them. By default,
druid.broker.balancer.type (defaults to random) determines how the broker will balance queries to historicals & realtime tasks: https://druid.apache.org/docs/latest/configuration/#query-configurationAbhishek Balaji Radhakrishnan
06/17/2026, 1:20 AMAdithya Shetty
06/17/2026, 1:32 AMAdithya Shetty
06/17/2026, 1:35 AMdruid.broker.balancer.type is cut off. Anything is missing here
cc: @Gian Merlino @Abhishek Balaji RadhakrishnanAbhishek Balaji Radhakrishnan
06/17/2026, 1:36 AMAdithya Shetty
06/17/2026, 1:44 AM