Skip to main content
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

string
required
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.
For GCP targets, 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.
This command starts the following services in order:
  1. CNATS JetStream — The message bus for all inter-node communication within the 10.10.x.x VPC
  2. Annex ingestion services — The parent processes responsible for market data ingestion
  3. 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.
This command:
  • Creates the QUANUX_INGEST JetStream stream with 50 GB file-backed storage limits
  • Attaches the ANNEX_PROCESSOR consumer configured for Durable Pull requests with Explicit ACKs
  • Attaches the ALEPH_OBSERVER consumer for observability plane ingestion
Run setup-topology only once per cluster. Re-running it against an existing stream will produce errors unless you first remove the existing stream manually.

Environment variables

Exit status

Verifying the live execution engine

After running engine start, the quanux-engine.service systemd daemon (deployed by nest drop) should be active and connected to NATS. Verify it directly:
A healthy engine produces output like the following:
Confirm both threads are reported as started. If [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

1

Provision and condition the node

Run the two-stage deployment to prepare the server and install the engine:
2

Tune the OS

Apply kernel and OS tuning for deterministic latency:
3

Initialize JetStream topology

Set up NATS streams and consumers (first time only):
4

Start the engine services

Start CNATS, Annex ingestion, and the Omega decoder:
5

Verify execution

Confirm the spreader daemon is active and connected:
The NATS JetStream mesh binds exclusively to the 10.10.x.x internal VPC interface. Traffic never traverses the public internet. Use quanuxctl obs cluster-health to verify all edge nodes are sending heartbeats after startup.