[ 
https://issues.apache.org/jira/browse/HDDS-12491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDDS-12491:
-----------------------------------
    Parent: HDDS-13747  (was: HDDS-12940)

> 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to