You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/03/11 20:00:36 UTC

[GitHub] [incubator-druid] leventov opened a new issue #7231: Brokers to catch repetitive queries

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org