-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Component/s: Local/Compaction
-
Labels:None
-
Change Category:Performance
-
Complexity:Normal
-
Platform:All
-
Impacts:None
-
Source Control Link:
-
Test and Documentation Plan:
We currently materialize all values as on heap byte buffers. Byte buffers have a fairly high overhead given how frequently they’re used, and on the compaction and local read path we don’t do anything that needs them. Use of byte buffer methods only happens on the coordinator. Using cells that are backed by byte arrays instead in these situations reduces compaction and read garbage up to 22% in many cases.