Skip to content

src/dazzle_back/pra/tigerbeetle_scenarios.py

Generated: 2026-03-30T04:38:46.643299+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

TigerBeetle-specific PRA scenarios for stress testing ledger operations.

These scenarios exercise TigerBeetle under various load patterns to identify bottlenecks and validate performance characteristics.

Key Exports

  • TBScenarioType
  • TBSuccessCriteria
  • TBScenario
  • create_tb_quick_scenario
  • create_tb_steady_scenario
  • create_tb_burst_scenario
  • create_tb_hot_accounts_scenario
  • create_tb_multi_leg_scenario
  • create_tb_overdraft_scenario
  • create_tb_full_scenario
  • get_tb_scenario
  • list_tb_scenarios

Dependencies

Imports

  • __future__.annotations
  • dataclasses.dataclass
  • dataclasses.field
  • enum.StrEnum
  • typing.Any
  • tigerbeetle_generator.TBGeneratorConfig

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_pra_cli.py
  • tests/unit/test_pra_harness.py
  • tests/unit/test_pra_metrics.py
  • tests/unit/test_pra_load_generator.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.