SpecsModelExploreRequirements
SpecsModelExploreRequirements
Twin Store
Data model
Reconciliation
Edge syncs
Device reports
Twin Store
Overview
Guide
Schema
Twin streams
Links and Communications

Twin Store

The Twin Store holds the device twin: the desired state operators want a device to be in, and the reported state the device last confirmed. Reconciling the two is how configuration safely reaches devices that are only intermittently connected.

Optimistic concurrency

Every twin carries a monotonic version. Desired-state writes must present the expected version (If-Match); a mismatch is rejected so two operators cannot silently overwrite each other.

Data model

Desired and reported properties are stored as JSONB key/value rows so the twin schema can evolve without migrations. Each version bump is recorded in TWIN_HISTORY for audit. The ERD is embedded on the Overview tab.

Reconciliation

Operator sets desired

A desired property is written and the twin version is bumped.

Edge syncs

On its next connection the edge agent pulls desired properties newer than what it has applied.

Device reports

The device writes back reported values; when reported matches desired the property is considered converged.