JCTools icon indicating copy to clipboard operation
JCTools copied to clipboard

Consider implementation of MpmcChunkedArrayQueue

Open guidomedina opened this issue 7 years ago • 3 comments

That one can be used at Apache MINA and QuickFixJ, is there too much effort for these to happen?

guidomedina avatar Oct 15 '16 10:10 guidomedina

Maybe is not needed for MINA core, follow up on their mailing list the following thread: http://mina.markmail.org/search/?q=#query:+page:1+mid:mcdxlufpcb6ldxkj+state:results

guidomedina avatar Oct 15 '16 11:10 guidomedina

There's a reasonable amount of effort involved in merging the lower bit for resizing method used in the MPSC case with the Vyukov MPMC algorithm. In particular the consumer dropping a buffer atomically needs to be implemented (should be a similar affair to producer resize). Not impossible, but a few days work when all is said and done. If someone wants to have a go and PR that would be great, otherwise I'd wait for more popular demand.

nitsanw avatar Oct 17 '16 07:10 nitsanw

@guidomedina If you need it to be unbounded I believe there is something coming for you in the next release (fingers crossed) :)

franz1981 avatar Dec 06 '19 20:12 franz1981