Skip to main content

Stress-Test Robot (robot)

src/robot/ is a stress-test/simulated client implemented in Go, based on robot-go (vendored at src/robot/atframework/robot-go/).

Structure

src/robot/
├── main.go # Entry point
├── cmd/ # Commands
├── rpc/ # CS RPC wrappers
├── task/ # Stress-test tasks
├── db/ # Data access
├── Taskfile # go-task build
└── atframework/ # Vendored dependencies (robot-go, atframe-utils-go, atgateway protocol SDK)

Protocol

The robot speaks the atgateway v2 protocol directly (FlatBuffers, atgateway/libatgw_protocol_sdk.fbs): ECDH handshake, encryption, compression, reconnection. The CS request packing API is generated by the server-side template package_request_api_for_simulator.*.mako.

Deployment

install/cloud-native/charts/robot/ provides the deployment chart for the robot; stress-test scale, target zone, and so on are configured via values. For OpenTelemetry configuration, see the otel generation optimizations after e445d276 (modules/ configuration).