ores.compute.wrapper
Table of Contents
Summary
ores.compute.wrapper is the worker-node process for ORE risk runs. It
registers itself with ores.compute.core, waits for job assignments via NATS,
executes an ORE risk run for each assigned batch, and reports the result back
to the orchestrator. Multiple wrapper instances can run on different machines to
scale risk computation horizontally.
Inputs
- NATS job-assignment message from
ores.compute.corecontaining the ORE input file set and run parameters. - Configuration: NATS URL, ORE executable path, working directory.
Outputs
- ORE risk-run output files (NPV cube, cashflows, etc.) written to a shared output location.
- NATS job-completion message (result path, status) sent back to
ores.compute.core.
Entry points
src/main.cpp— process entry point; registers with orchestrator and starts the job-receive loop.src/app/— bootstrap and job execution logic.src/config/— configuration parsing.
Dependencies
ores.compute.api— shared protocol types (job assignment, result messages).ores.logging— structured logging.nats.c— NATS client.
See also
- ores.compute — component group overview.
- ores.compute.core — orchestrator that dispatches jobs to this worker.
