Eshcar commented on issue #8031: remove unnecessary synchronization overhead 
from complex Aggregators
URL: 
https://github.com/apache/incubator-druid/issues/8031#issuecomment-510382960
 
 
   > that says that there is about 15 ms overhead for 1mn lock/release on 
object locks. I am pretty sure this is negligible compared to time spent doing 
sketch operations
   
   This is not always correct. For example, an update of a theta sketch takes 
less than 10ns and when the sketch is very big it takes less than 5ns. 
Specifically,  adding 1M uniques to a sketch takes less than 10ms.
   See https://datasketches.github.io/docs/Theta/ThetaUpdateSpeed.html.
   For these cases the overhead wrt the sketch operation is not negligible.

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