[ 
https://issues.apache.org/jira/browse/KAFKA-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510359#comment-16510359
 ] 

ASF GitHub Bot commented on KAFKA-7051:
---------------------------------------

cmccabe opened a new pull request #5206: KAFKA-7051: Improve the efficiency of 
ReplicaManager
URL: https://github.com/apache/kafka/pull/5206
 
 
   Improve the efficiency of the ReplicaManager when there are many
   partitions.
   
   The 'fetchInfo' argument to ReplicaManager#fetchMessages can be an
   iterator rather than a sequence.  This avoids the need to materialize
   a new collection in some cases.
   
   Reduce the number of times we loop over the read results obtained from
   'readFromLog'.
   
   Fix a case where we were performing an O(N^2) operation to join the set
   of partitions we wanted info about, and the set of partitions we
   obtained information about.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Improve the efficiency of the ReplicaManager when there are many partitions
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-7051
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7051
>             Project: Kafka
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.8.0
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to