Skip to content

feat(stresstest): Add batch mode using many API#342

Draft
lcian wants to merge 2 commits intomainfrom
lcian/feat/stresstest-batch
Draft

feat(stresstest): Add batch mode using many API#342
lcian wants to merge 2 commits intomainfrom
lcian/feat/stresstest-batch

Conversation

@lcian
Copy link
Member

@lcian lcian commented Feb 26, 2026

Summary

Adds batch mode support to the stresstest tool using the Rust client's many() batch API.

  • Add a many: Option<usize> workload config parameter that controls how many operations are grouped per batch call
  • Introduce BatchAction enum and HttpRemote::send_batch() wrapper around the client's many() builder
  • Unify batch and individual execution into a single run_workload function with extracted execute_individual and execute_batch helpers
  • Update example config with batch workload resembling snapshots expected load

@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (rust-client) Implement many API using batch endpoint by lcian in #277
  • (stresstest) Add batch mode using many() API by lcian in #342

🤖 This preview updates automatically when you update the PR.

@lcian lcian changed the base branch from main to lcian/feat/rust-batch-client February 26, 2026 13:52
@lcian lcian changed the title feat(stresstest): Add batch mode feat(stresstest): Add batch mode using many() API Feb 26, 2026
@lcian lcian force-pushed the lcian/feat/stresstest-batch branch 2 times, most recently from fa7a13a to 95a6403 Compare February 26, 2026 16:11
Base automatically changed from lcian/feat/rust-batch-client to main February 27, 2026 08:44
@lcian lcian force-pushed the lcian/feat/stresstest-batch branch from 95a6403 to c7621a2 Compare March 2, 2026 10:11
lcian added 2 commits March 2, 2026 11:13
Adds a third workload mode `batch` (internally `Many`) that sends
multiple operations in a single HTTP batch request via `ManyBuilder`.
Action weights represent exact counts per batch call. Results are
correlated back to track writes/reads for subsequent operations.
@lcian lcian force-pushed the lcian/feat/stresstest-batch branch from c7621a2 to 9396876 Compare March 2, 2026 10:13
@lcian lcian changed the title feat(stresstest): Add batch mode using many() API feat(stresstest): Add batch mode using many API Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant