Re: Theta sketch - concurrent union implementation

2019-07-03 Thread Gian Merlino
Hey Eschar, I see Himanshu wrote a note in https://github.com/apache/incubator-datasketches-java/issues/263, and I added a little bit of extra info as well. Hope it helps! On Tue, Jul 2, 2019 at 7:06 AM Eshcar Hillel wrote: > I did some thinking and alternative 2 would not allow supporting a

Re: Theta sketch - concurrent union implementation

2019-07-02 Thread Eshcar Hillel
I did some thinking and alternative 2 would not allow supporting a scenario of single-write-multiple-readers in druid's incremental index, which is the common case.So this leaves choosing between alternative 1 and 3.Can anyone point out advantages of having a union API to answer queries rather

Theta sketch - concurrent union implementation

2019-06-30 Thread Eshcar Hillel
Hi Everyone, As some of you may recall a year ago we had a conversation over the mailing list regarding the synchronization of sketches  https://lists.apache.org/thread.html/9899aa790a7eb561ab66f47b35c8f66ffe695432719251351339521a@%3Cdev.druid.apache.org%3E.Currently, the implementation of