Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
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.
Attachments
Issue Links
- links to