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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to