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

Jonathan Ellis updated CASSANDRA-1651:
--------------------------------------


it looks like this is only addressing the shortbytearray (row keys and column 
names) parts, but not column values?  column values can be larger but in most 
workloads the majority will fit in a slab.

also, it seems to me that for reading from the disk or network the "right" way 
is to wrap segments of the buffer the reader is filling, rather than fill read 
buffer, then copy to slab buffer a second time.


> Improve read performance by using byte array slabs
> --------------------------------------------------
>
>                 Key: CASSANDRA-1651
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1651
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: T Jake Luciani
>            Priority: Minor
>         Attachments: 1651_v1.txt
>
>
> Now that the code has switched to byte buffers internally,  it should be 
> possible to improve read performance by reducing the number of byte array 
> allocations.
> This patch accomplishes this by and re-using sections of a larger byte array 
> slab.
> I've benchmarked it locally and seen a slight improvement on reads, a larger 
> scale benchmark should be performed.
> Also the size of a slab can be configured in cassandra.yaml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to