In this article we present the DiamondQueue
, which is nothing more than thread A sending through a demultiplexer a bunch of requests to a fixed set of worker threads, then this set of worker threads sending the results to thread B through a multiplexer. It is important to note that thread A and thread B can be the same thread. The DiamondQueue
also supports lanes to enforce message order when needed. Continue reading
CoralQueue
CoralQueue is a ultra-low-latency, high-performance, lock-free, garbage-free, concurrent queue, demultiplexer, multiplexer, mpmc queue and splitter. It uses memory barriers instead of locks to allow Java Threads to exchange messages in under 15 nanoseconds with top throughput of 97 million messages per second.
|
- « Previous
- 1
- 2