[ https://issues.apache.org/jira/browse/KAFKA-8583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mao updated KAFKA-8583: ----------------------- Description: 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 and change has been deployed to prod for 6 months. Unfortunately, Ambry didn't record the perf diff. Code change: [https://github.com/apache/kafka/pull/6984] Let me know if anything needed. was: 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. Code change: [https://github.com/apache/kafka/pull/6984] Let me know if anything needed. > 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 and change has been deployed to prod for > 6 months. Unfortunately, Ambry didn't record the perf diff. > > Code change: [https://github.com/apache/kafka/pull/6984] > Let me know if anything needed. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)