[ https://issues.apache.org/jira/browse/KAFKA-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744753#comment-15744753 ]
Ismael Juma commented on KAFKA-4522: ------------------------------------ JCTools is also an option: http://psy-lob-saw.blogspot.com/2016/10/linked-array-queues-part-1-spsc.html > Using Disruptor instead of Array Blocking queue in Kafka Producer > ----------------------------------------------------------------- > > Key: KAFKA-4522 > URL: https://issues.apache.org/jira/browse/KAFKA-4522 > Project: Kafka > Issue Type: Improvement > Components: producer > Reporter: Pratik kumar > > Kafka Producer currently uses Java's Array Blocking Queue to store outbound > kafka message before batching them in async mode. In case of high production > rate of kafka messages,this adds to lock contention on the user and is > generally hidden from user.(quoting from personal experience) > Usage of LMAX Disruptor can reduce the lock contention overhead put by Kafka > Producer > LMAX Disruptor -> https://github.com/LMAX-Exchange/disruptor > Also can someone help me understand if blocking queue gives any guarantees > inherent to kafka's design(and hence is irreplaceable) -- This message was sent by Atlassian JIRA (v6.3.4#6332)