Eshcar commented on issue #3956: Thread safe reads for aggregators in 
IncrementalIndex
URL: https://github.com/apache/incubator-druid/pull/3956#issuecomment-406869180
 
 
   > Synchronization should be done inside aggregators, because simple 
aggregators could use cheaper atomics instead of intrinsic locks.
   
   I agree. This is what we hope to do now in sketches-core, add concurrent 
(thread-safe) sketches that use lightweight synchronization. The first step is 
adding concurrent theta sketch, which can be followed by a concurrent union 
implementation. Later additional concurrent sketches can be added to the 
library (we already have an implementation of a concurrent quantile sketch).  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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