HarperFast / HarperFast/harper

Stress: Concurrent read+write benchmark on large indexed table — measure p99 degradation ceiling

Open
#1,199 0 comments 0 reactions 1 assignee Claimed by @kriszyp View on GitHub
area:rest-api area:storage tests
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

Evidence: large outdoor retail redirect cluster redirect lookup (multi-condition scan on 1.44M-record 5-index table) runs under concurrent bulk CSV import. Add benchmark: concurrent readers do multi-condition index scan on 1M-record 3-index table while writers insert at 1K rows/sec; measure read p99 during write load vs. at rest; assert degradation below ceiling. Confluence: Section 5 ST-5

## Existing coverage in harper-pro
The `integrationTests/stress/` suite in harper-pro covers related concurrent-read-under-write scenarios:
- `slowConsumerBackpressure.test.mjs` — asymmetric peer (1 thread vs 4) under write churn
- `soakWithRollingRestarts.test.mjs` — sustained writes with concurrent node restarts

This issue should focus on the indexed-table-specific scenario (multi-condition scan on a large table with 5 secondary indexes under bulk import load) which is not covered by the replication-focused stress suite.

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.