[ https://issues.apache.org/jira/browse/KAFKA-8583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869908#comment-16869908 ]
ASF GitHub Bot commented on KAFKA-8583: --------------------------------------- zzmao commented on pull request #6984: KAFKA-8583: Optimization for SslTransportLayer#write(ByteBuffer) URL: https://github.com/apache/kafka/pull/6984 Warp data as many as possible in SslTransportLayer#write(ByteBuffer) The change come from Ambry, which used same TransportLayer code. https://github.com/linkedin/ambry/pull/1105 *More detailed description of your change, if necessary. The PR title and PR message become the squashed commit message, so use a separate comment to ping reviewers.* *Summary of testing strategy (including rationale) for the feature or bug fix. Unit and/or integration tests are expected for any behaviour change and system tests should be considered for larger changes.* ### 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: us...@infra.apache.org > Optimization for SslTransportLayer#write(ByteBuffer) > ---------------------------------------------------- > > Key: KAFKA-8583 > URL: https://issues.apache.org/jira/browse/KAFKA-8583 > Project: Kafka > Issue Type: Improvement > Components: network > Reporter: Mao > Priority: Major > > The is a propose to optimize SslTransportLayer#write(ByteBuffer). > Currently, sslEngine only reads data from src once per selector loop. > This can be optimized by reading all src data in one selector loop. > The propose comes from [Amrby|[https://github.com/linkedin/ambry/pull/1105]], > which uses same Transport Layer code. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)