You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/06 07:47:00 UTC

[jira] [Commented] (KAFKA-9670) Benchmark and optimize MetadataResponse preparation

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

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

omkreddy commented on pull request #8236: KAFKA-9670: Reduce allocations in Metadata Response preparation
URL: https://github.com/apache/kafka/pull/8236
 
 
   This PR removes  innternediate conversions between `MetadataResponse.TopicMetadata ` <=> `MetadataResponseTopic` and `MetadataResponseData.MetadataResponseTopic` <=> `MetadataResponsePartition` objects.
   
   There is 15-20% reduction in garbage generation and 5-10% improvement in metadata request performance.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Benchmark and optimize MetadataResponse preparation
> ---------------------------------------------------
>
>                 Key: KAFKA-9670
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9670
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Manikumar
>            Assignee: Manikumar
>            Priority: Major
>             Fix For: 2.6.0
>
>
> This JIRA to remove unnecessary intermediate object conversions in Metadata Response preparation. We will also add Benchmark test to track perf improvements.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)