Cluster Overview
Run distributed load and merge stats into one coordinated report.
Coordinator and Agents
Control node behavior via node type and target scenario selection.
Feature Usage Samples
How to use snippets for Cluster 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.
Coordinator Setup
LoadStrikeRunner
.RegisterScenarios(apiScenario, streamScenario)
.WithNodeType(LoadStrikeNodeType.Coordinator)
.WithClusterId("orders-cluster")
.WithAgentGroup("perf-agents")
.WithAgentsCount(3)
.WithRunnerKey("rkr_your_remote_runner_key")
.Run();
import com.loadstrike.runtime.LoadStrikeRuntime.LoadStrikeNodeType;
import com.loadstrike.runtime.LoadStrikeRuntime.LoadStrikeRunner;
LoadStrikeRunner
.registerScenarios(apiScenario, streamScenario)
.withNodeType(LoadStrikeNodeType.Coordinator)
.withClusterId("orders-cluster")
.withAgentGroup("perf-agents")
.withAgentsCount(3)
.withRunnerKey("rkr_your_remote_runner_key")
.run();
from loadstrike_sdk import LoadStrikeRunner
LoadStrikeRunner.register_scenarios(api_scenario, stream_scenario) \
.with_node_type("Coordinator") \
.with_cluster_id("orders-cluster") \
.with_agent_group("perf-agents") \
.with_agents_count(3) \
.with_runner_key("rkr_your_remote_runner_key") \
.run()
import { LoadStrikeRunner } from "@loadstrike/loadstrike-sdk";
await LoadStrikeRunner
.registerScenarios(apiScenario, streamScenario)
.withNodeType("Coordinator")
.withClusterId("orders-cluster")
.withAgentGroup("perf-agents")
.withAgentsCount(3)
.withRunnerKey("rkr_your_remote_runner_key")
.run();
const { LoadStrikeRunner } = require("@loadstrike/loadstrike-sdk");
await LoadStrikeRunner
.registerScenarios(apiScenario, streamScenario)
.withNodeType("Coordinator")
.withClusterId("orders-cluster")
.withAgentGroup("perf-agents")
.withAgentsCount(3)
.withRunnerKey("rkr_your_remote_runner_key")
.run();
Cluster Roles
Coordinator
Orchestrates the run, distributes work to agents, and merges all node statistics into the final result.
Agent
Executes the assigned scenarios and streams its partial results back to the coordinator.