cockroachdb / cockroachdb/cockroach
kvstreamer: improve performance with InOrder mode and random access pattern
Open
C-performance
O-support
P-3
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
This is a continuation of #133043. Using the [same](https://gist.github.com/mgartner/6163ac9079c64ca0d46592ff85f115ce) repro from Marcus, with #134132 included, locally I observe that using the streamer is noticeably slower than disabling it (on average 550ms vs 150ms). We should investigate improving the streamer to handle the scenario with random access (when responses from multiple ranges need to be intertwined) and InOrder mode better.
Jira issue: CRDB-43988
Contributor guide
Assessment
This issue has not been assessed yet.