Skip to content

perf: add scalability benchmarks - #19

Merged
ShashankShekhar31 merged 2 commits into
masterfrom
feat/performance-scalability
Sep 25, 2026
Merged

ShashankShekhar31 merged 2 commits into
masterfrom
feat/performance-scalability

Conversation

@ShashankShekhar31

Copy link
Copy Markdown
Owner

Summary

  • Add k6 performance tests for authentication flows.
  • Add health endpoint scalability testing.
  • Add horizontal API instance testing.
  • Add Bitcoin/Esplora RPC latency testing.
  • Add PostgreSQL read/query benchmark coverage.
  • Add Kafka → consumer inbox → Temporal event-processing benchmark.
  • Add a dedicated performance identity setup script.
  • Document local performance SLOs and benchmark coverage.

Validation

  • git diff --check ✅
  • pnpm run format:check ✅
  • pnpm typecheck ✅
  • pnpm test ✅

Benchmark Results

  • Health scalability: 20 VUs, 0% HTTP failures, p95 2.85 ms.
  • Auth login: 0% HTTP failures, p95 ~110 ms.
  • Event pipeline: 40/40 processed, 0 retries, consumer p95 40 ms.
  • Bitcoin RPC: covered through k6.
  • PostgreSQL read/query-plan: covered through pgbench.
  • Horizontal API testing: covered through k6.

Notes

Portfolio, asset-query, and transaction API load tests are pending until the corresponding read endpoints are available.

@ShashankShekhar31
ShashankShekhar31 merged commit 5a7f323 into master Sep 25, 2026
2 of 3 checks passed
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