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/04/01 13:21:06 UTC

[GitHub] [incubator-druid] leventov opened a new issue #7390: RPC building block: future hook for repetitive queries

leventov opened a new issue #7390: RPC building block: future hook for repetitive queries
URL: https://github.com/apache/incubator-druid/issues/7390
 
 
   Generified idea of #7231. A lot of Druid nodes do RPC to each other with idempotency expectations. If one query is already in-flight, another query can just wait for the same `Future`.
   
   I've once implemented similar functionality here in an ad-hoc manner: https://github.com/metamx/druid/commit/772bd29adb829cb5c09eb233ed3bf93209c2a456#diff-b246e418901d237662b3363cdc950d13R118
   
   We can build something generic and allow to use it in a declarative manner, for example, a static utility that accepts a lambda and creates a hook.

----------------------------------------------------------------
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