leventov opened a new issue #7231: Brokers to catch repetitive queries
URL: https://github.com/apache/incubator-druid/issues/7231
 
 
   ### Description
   
   Broker registers queries being executed and associates them with `Future` 
objects. When it notices that a query has arrived that is already being 
executed, it just puts the HTTP thread to await to the same (already existing) 
`Future`, instead of sparking a duplicate execution.
   
   This can be seen as a form of results "pre-cache".
   
   ### Motivation
   
   When a query executes for a long time, users get impatient and reload a web 
interface, initiating the same queries to Druid. Currently, by doing so they 
only make things worse, because brokers (and historicals), still crunching 
results for the previous query (if no form of [cancellation 
protocol](https://github.com/apache/incubator-druid/issues/7087) is used), 
start another instance of the query.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to