JCTools
JCTools copied to clipboard
Consider implementation of MpmcChunkedArrayQueue
That one can be used at Apache MINA and QuickFixJ, is there too much effort for these to happen?
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
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.
@guidomedina If you need it to be unbounded I believe there is something coming for you in the next release (fingers crossed) :)