You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2025/03/06 16:11:00 UTC

[jira] [Created] (HDDS-12491) Snapshot diff should use direct byte buffers on SSTFileReader and RawSstFileReader while fetching keys

Swaminathan Balachandran created HDDS-12491:
-----------------------------------------------

             Summary: Snapshot diff should use direct byte buffers on SSTFileReader and RawSstFileReader while fetching keys
                 Key: HDDS-12491
                 URL: https://issues.apache.org/jira/browse/HDDS-12491
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Swaminathan Balachandran
            Assignee: Swaminathan Balachandran


Currently SnapshotDiff creates a new byte array for each and every key read from sstFileReaderIterator & RawSstFileIterator which would cause a lot of unnecessary GC. We should use Direct ByteBuffer instead this wasn't done in the V1 since we wanted to first stabilise the native lib and then look for performance optimizations in this flow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org