cockroachdb / cockroachdb/cockroach

kvstreamer: improve performance with InOrder mode and random access pattern

Open
#134,254 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.