You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/06/05 09:50:00 UTC

[jira] [Commented] (KAFKA-14632) Compression optimization: Remove unnecessary intermediate buffers

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

Divij Vaidya commented on KAFKA-14632:
--------------------------------------

Fixed as part of https://issues.apache.org/jira/browse/KAFKA-14633

> 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
>            Priority: Major
>             Fix For: 3.6.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)