| ID | product.edge.rule_runtime |
|---|---|
| Description | Evaluates rules locally for low-latency control. |
| Key | rule_runtime |
| Type | microservice:service |
| Team | Edge Platform |
| Owner | edge-platform@iotgateway.example |
| Status | active |
| Technologies | Rust, Lua/WASM (rules), OpenTelemetry |
| Attributes | language: Rust, latency: <10ms, runtime: container |
| Tags |
The Edge Rule Runtime is what lets the gateway act without waiting for the cloud. Rules like “if pressure > threshold for 3 samples, close the valve” must fire in milliseconds and must keep working when the uplink is down. The runtime loads rule packs, evaluates them against the live local stream, and drives actuators when a rule fires.
Responsibility in one sentence
Turn the cloud’s declarative rule packs into fast, deterministic, offline-safe local control actions.
Could not build diagram for model "example-iot".
Local rules are the fast path of the alert pipeline:
Rule outcomes and cloud commands converge on the same dispatch path:
1 workflow
| Workflow | Model | Participant id | Participant label |
|---|---|---|---|
| Telemetry to alert telemetry.alert-pipeline | example-iot | product.edge.rule_runtime | Rule runtime |