dlmarion commented on issue #4876:
URL: https://github.com/apache/accumulo/issues/4876#issuecomment-2344656568

   Other options might include:
   
    - a ring buffer, log4j2 asynchronous logging uses the LMAX Disruptor 
[RingBuffer](https://github.com/LMAX-Exchange/disruptor/blob/master/src/main/java/com/lmax/disruptor/RingBuffer.java#L84)
 (it's already a dependency I think).
    
    - a 
[LinkedTransferQueue](https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/concurrent/LinkedTransferQueue.html),
 but might have to check it's size before putting the object on it as it's 
unbounded.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to