Documentation Index
Fetch the complete documentation index at: https://docs.quanux.org/llms.txt
Use this file to discover all available pages before exploring further.
quanuxctl engine bridges your infrastructure’s state to the QuanuX execution plane. Once a node has been conditioned by habitat equip and nest drop, you use quanuxctl engine to apply deterministic OS and kernel tuning, initialize the CNATS JetStream topology, and start the Annex C++ decoder and ingestion services that feed market data into the execution loop.
Synopsis
The cloud provider target for the operation. Accepts
do (DigitalOcean) or gcp (Google Cloud Platform). Determines which infrastructure inventory is used to resolve active node addresses.Commands
tune
Applies OS and kernel-level tuning playbooks to optimize the execution node for deterministic low-latency performance.
tune performs the following:
- Disables Transparent Huge Pages (THP) and enforces Static Hugepages
- Isolates CPU core assignments via GRUB parameters
- Injects raw network buffer parameters for low-latency transmission protocols
Run
tune once after initial node provisioning. You do not need to re-run it on every deployment unless you change hardware or cloud provider.start
Initializes CNATS JetStream, starts the Annex ingestion sub-services, and natively compiles the Omega C++ Decoder on the target hardware.
- CNATS JetStream — The message bus for all inter-node communication within the
10.10.x.xVPC - Annex ingestion services — The parent processes responsible for market data ingestion
- Omega C++ Decoder — Compiled natively on the target hardware and started as a managed process
setup-topology
Configures the core JetStream stream and consumer topology required by the execution plane.
- Creates the
QUANUX_INGESTJetStream stream with 50 GB file-backed storage limits - Attaches the
ANNEX_PROCESSORconsumer configured for Durable Pull requests with Explicit ACKs - Attaches the
ALEPH_OBSERVERconsumer for observability plane ingestion
Environment variables
| Variable | Description |
|---|---|
QUANUX_TARGET | Determines the infrastructure provider for inventory resolution. Set to do or gcp. |
Exit status
| Code | Meaning |
|---|---|
0 | All operations completed successfully |
1 | Task or subsystem failure — review output for the failing step |
Verifying the live execution engine
After runningengine start, the quanux-engine.service systemd daemon (deployed by nest drop) should be active and connected to NATS. Verify it directly:
[Spreader] Connected to NATS DMA pipe. is absent, the engine could not reach the NATS endpoint in habitat.env. Verify NATS is running on the VPC node at 10.10.x.x:4222.
Full execution node startup sequence
Provision and condition the node
Run the two-stage deployment to prepare the server and install the engine: