-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.4.1
-
Component/s: Ozone Client
-
Labels:None
-
Target Version/s:
-
Sprint:Done
Currently, there are three buffer copies in ChunkOutputStream
- from byte[] to ByteBuffer, and
- from ByteBuffer to ByteString.
- from ByteString to ByteBuffer for checskum computation
We should eliminate the ByteBuffer in the middle.
For zero copy io, we should support WritableByteChannel instead of OutputStream. It won't be done in this JIRA.
- contains
-
HDDS-1227 Avoid extra buffer copy during checksum computation in write Path
-
- Resolved
-