When an edge device has multiple cameras (each represented by a separate digital twin), Edge Core starts one driver container per camera and a single shared worker container that receives frames from all of them.Documentation Index
Fetch the complete documentation index at: https://docs.cyberwave.com/llms.txt
Use this file to discover all available pages before exploring further.
Architecture
Driver startup sequencing
Edge Core starts drivers before the worker and verifies each driver container reaches arunning state:
- All linked twins are resolved from the environment.
- Driver images are pulled in parallel.
- Containers are started sequentially, each verified with a readiness probe.
- Once all drivers reach a stable state, the worker container starts.
- If some drivers fail, the worker still starts (with a warning) so healthy cameras can be utilized.
Worker environment wiring
The worker container receives:| Variable | Value | Purpose |
|---|---|---|
CYBERWAVE_TWIN_UUIDS | Comma-separated list of all linked twin UUIDs | Worker subscribes to all twin channels |
CYBERWAVE_TWIN_UUID | First twin UUID (backward compatibility) | Legacy single-twin workers |
Model pre-download
Before the worker starts, Edge Core scansworkers/*.py for cw.models.load("...") calls and pre-downloads all referenced models to the local cache (~/.cyberwave/models/).
CLI visibility
cyberwave edge status shows:
- Each driver container with its twin UUID mapping
- The worker container with its full twin list
- Running/stopped status for all containers
Health monitoring
Edge Core continuously monitors driver containers during the runtime loop:- Restart loop detection: Drivers that restart too frequently are stopped automatically.
- Driver-down alerts: If a driver stops while the worker is running, an alert is sent to the associated twin.
- Worker health: The worker container has its own health monitor with circuit-breaker protection against crash loops.
Related
- Multi-Camera Detection Routing — SDK-level detection routing
- Synchronized Hooks — Cross-twin frame synchronization