Files
foxhunt/testing/service-load

service-load

Trading service throughput load tests with 4 scenarios: sustained (10K/s for 60s), peak burst (50K/s for 10s), market data streaming (1M updates), and connection pool saturation (1K clients).

Scenarios

  • sustained -- 10K orders/sec, 60s, 100 clients
  • burst -- 50K orders/sec, 10s, 500 clients
  • streaming -- 1M market data updates, 1K streams
  • pool -- 1K concurrent clients, 100 requests each

Usage

cargo run -p load_tests --release -- --scenario all
cargo run -p load_tests --release -- --scenario sustained