You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/01/18 13:18:00 UTC
[jira] [Created] (KAFKA-14632) Compression optimization: Remove unnecessary intermediate buffers
Divij Vaidya created KAFKA-14632:
------------------------------------
Summary: Compression optimization: Remove unnecessary intermediate buffers
Key: KAFKA-14632
URL: https://issues.apache.org/jira/browse/KAFKA-14632
Project: Kafka
Issue Type: Sub-task
Reporter: Divij Vaidya
Assignee: Divij Vaidya
Fix For: 3.5.0
Remove two layers of buffers (the 16KB one and 2KB one) and replace with a single buffer called decompressionBuffer. The time it takes to prepare a batch for decompression will be bounded by the allocation of largest buffer and hence, using only one large buffer (16KB) doesn’t cause any regression.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)