[Improve] benchmark ordered range scans and identify fan-out bottlenecks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- grpc, java
- Domain
- databases, distributed-systems, performance
Research direction
Start with the ordered HStore range-index scan behavior and the Store-local/client-side K-way merge established by #3140. Build the stated matrix across partition counts, cache and latency conditions, then record first-result and total time, RPCs, bytes, heap, and Store CPU; done means reproducible results, a documented bottleneck and recommendation, with follow-up implementation work split into focused issues.
Written by the indexing model from the issue text.
Description
Context
Follow-up to #3140. That PR establishes correctness for ordered HStore range-index scans through Store-local and client-side K-way merge. This issue is limited to measuring the performance characteristics and deciding which optimization, if any, is justified.
Benchmark scope
Build a reproducible benchmark matrix covering:
- Small limits with many partitions
- Medium limits with sparse matches
- Large limits and page/cursor continuation
- 1, 4, 16, and 64 partitions
- Warm and cold cache, plus representative network latency
Record time to first result, total query time, RPC/open-stream count, transferred bytes, client heap usage, and Store CPU.
Decisions after the baseline
Use the results to decide whether to open focused implementation issues for:
- Partition pruning, when range metadata can safely eliminate non-overlapping partitions.
- Client-driven initial and subsequent page-demand sizing, when it reduces unused data materially.
- Prefetch/pipelining, after characterizing existing gRPC streaming and buffering behavior.
Store-local merge pushdown is already delivered by #3140 and is not duplicated here.
Acceptance criteria
- Benchmark configuration and results are reproducible.
- The bottleneck and recommended next optimization are documented.
- Further implementation work is split into focused issues only when supported by the measurements.
I will follow up on this issue.
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 637
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 23
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/hugegraph
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
All issues in apache/hugegraph
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·