[
https://issues.apache.org/jira/browse/CASSANDRA-15396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Capwell updated CASSANDRA-15396:
--------------------------------------
Comment: was deleted
(was: I rebased to trunk and started perf testing this against a k/v workflow
where the value ranges between 100-102400 bytes, in this test I see a
noticeable difference between trunk and this patch (p99 of 64ms on trunk vs
25ms with the patch). I plan to test this more with different value lengths
and with other profiles to make sure there isn't a regression under different
access patterns.)
> RandomAccessReader does not override skip or skipBytes so will do a lot of
> disk io when n is large
> --------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15396
> Project: Cassandra
> Issue Type: Improvement
> Components: Local/SSTable
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
>
> RandomAccessReader does not override skip or skipBytes which becomes a
> problem when the size of n (the bytes to skip) is larger than a single
> buffer; in these cases we can rely on seek to avoid the extra disk io.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]