Skip to content

Add k6 stress tests for MemWal relayer#145

Open
ducnmm wants to merge 1 commit into
devfrom
feat/mem-30-k6-relayer
Open

Add k6 stress tests for MemWal relayer#145
ducnmm wants to merge 1 commit into
devfrom
feat/mem-30-k6-relayer

Conversation

@ducnmm
Copy link
Copy Markdown
Collaborator

@ducnmm ducnmm commented May 13, 2026

Summary

  • add a bundled k6 harness for relayer health, remember, recall, ask, and restore flows
  • cover smoke, load, stress, spike, and health-only profiles with custom latency/error/timeout metrics
  • document local/staging usage and note that live stress execution should wait for the Mysten RPC endpoint
  • make the TS sidecar honor SUI_RPC_URL so custom/internal RPC config applies consistently

Verification

  • npm run k6:build
  • ./node_modules/.bin/tsc --noEmit --skipLibCheck --target ES2022 --module NodeNext --moduleResolution NodeNext bench-recall-latency.ts k6/relayer.ts
  • npm test
  • cargo check

Live k6 execution was not run because we do not yet have the mysten-rpc endpoint for the relayer environment.

Linear: MEM-30

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