Skip to content

feat: connection pooling and parallel test support #12

@satoshai-dev

Description

@satoshai-dev

Summary

Optimize for parallel Playwright workers and reduce overhead from repeated API calls.

Problem

Each test creates its own MockProviderHandler and makes independent API calls. When running tests in parallel (workers > 1), this can cause nonce conflicts and redundant API requests.

Requirements

  • Shared API client with connection reuse across tests
  • Nonce coordination across parallel workers (or document the limitation)
  • Investigate caching for read-only calls and fee estimates
  • Request deduplication for rapid identical queries
  • Benchmark and document performance characteristics

Milestone

v1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance optimizationroadmapFuture features and direction

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions