Overview

Understand the core architecture of LoadStrike and how cross-platform tracking works.

What It Solves

LoadStrike correlates source and destination events across HTTP, Kafka, NATS, Redis Streams, RabbitMQ, Event Hubs, Push Diffusion, and delegate-based custom streams.

How Correlation Works

A shared tracking id is read from headers or body selectors. First match wins, duplicates are counted, and timeout is configurable.

Run Modes

GenerateAndCorrelate and CorrelateExistingTraffic are both supported. Source-only reporting is also available when destination is omitted.

Feature Usage Samples

How to use snippets for Overview.

Switch between C#, Java, Python, TypeScript, and JavaScript to see the native SDK shape for this sample.

Licensing note: every runnable sample requires a valid runner key via WithRunnerKey("...") or config key LoadStrike:RunnerKey.

Minimal Run

var scenario = LoadStrikeScenario.Create("hello", _ => Task.FromResult(LoadStrikeResponse.Ok()))
    .WithLoadSimulations(LoadStrikeSimulation.Inject(5, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10)));

LoadStrikeRunner.RegisterScenarios(scenario).WithRunnerKey("rkl_your_local_runner_key").Run();

Flow

Scenario

Define the workload unit, its run delegate, and any scenario-level hooks or thresholds.

Simulation

Attach the traffic model that decides how often the scenario runs and for how long.

Run

Register the scenario, provide a valid runner key, and execute to produce runtime stats and reports.

Diagram

Quick start flow visual
Quick start flow from scenario setup to run execution and report generation.