Prototyping · Study deck

Edge Computing Platforms

An edge platform is useful when a prototype must prove behavior close to devices: local ingestion, buffering, filtering, control, inference, safe fallback, and later synchronization.

Voltage Vera is your guide for this deck.

platformsedgecomputing
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Define the evidence an edge platform should expose for an IoT prototype.
  • Decide when local autonomy, buffering, filtering, control, or inference belongs at the edge.
  • Review edge-cloud synchronization without hiding stale data, duplicate messages, or unsafe local behavior.
  • Separate edge runtime convenience from gateway operations, data ownership, update workflow, and support responsibility.
iotclass.org

Major section

Start With the Story

It needs a clear local job and a safe way to join the wider service again.

  • Local work can keep the site moving, but it adds state and update work.
  • Cloud work is easy to share, yet it cannot act through a dead link.
  • The story begins with the behavior that must remain trustworthy near the device.
iotclass.org

Major section

Edge Platforms Prove Local Duty

An edge platform earns its place when local behavior must continue while a cloud service, WAN link, or upstream workflow is unavailable, too slow, too expensive, or not allowed to receive every raw event.

  • The chapter question is not whether a gateway can run software.
  • A cold-room gateway, for example, should not merely forward temperature readings to the cloud.
  • It should show stale labels, alarm state, acknowledgement records, replay ordering, buffer pressure, and recovery notes while the upstream path is unavailable.
  • The useful outcome is a boundary decision rather than a polished gateway demo.
An edge platform prototype is useful when the local question, placement decision, trial condition, offline behavior, synchronization review, operations record, and next decision stay connected.
An edge platform prototype is useful when the local question, placement decision, trial condition, offline behavior, synchronization review, operations record, and next decision stay connected.
iotclass.org

Major section

Pick Edge Stack by Failure Mode

Docker Compose, systemd services, containerd, or k3s can prove service packaging and restart behavior.

  • AWS IoT Greengrass, Azure IoT Edge, EdgeX Foundry, Eclipse Kura, Balena, Node-RED, Mosquitto, NATS, Telegraf, Fluent Bit, SQLite, InfluxDB, Redis Streams, and local file queues can prove gateway flows, buffers, adapters, and sync paths.
  • For a protocol-translation trial, keep the device adapter visible: Modbus register map, OPC UA node, CAN frame, BLE characteristic, LoRaWAN metadata, or MQTT topic should remain traceable to the local output.
  • The best practitioner review is intentionally narrow.
iotclass.org

Major section

Edge as Distributed State

Without a declared ordering rule, a late packet can overwrite a newer local acknowledgement or make an old alarm look current.

  • The difficult part of edge computing is not installing a runtime.
  • Edge state usually spans several clocks and stores.
  • Command paths need the same discipline.
  • Those details keep the edge node from becoming an unexplained control path.

Key terms

Resource boundaries
Resource boundaries are part of correctness.
iotclass.org

Major section

Edge as Distributed State (continued)

A device may timestamp a reading before transmission, the gateway may add receipt time, a rule engine may add decision time, the local UI may cache display state, and the cloud may store arrival time.

  • The review should therefore capture monotonic sequence numbers when available, timestamp source, NTP or PTP health, gateway restart time, buffer commit time, replay marker, and stale-state label.
  • A local command should carry an actor, authorization decision, precondition result, idempotency key, issued action, actuator acknowledgement, rejection reason, and safe fallback.
  • Resource boundaries are part of correctness.
iotclass.org

Major section

Edge as Distributed State (continued)

If upstream approval is normally required, the edge prototype must state whether local action is blocked, queued, allowed under a degraded-mode rule, or allowed only for a subset of commands.

  • If local inference triggers action, the model version, input window, confidence threshold, and human override must travel with the event record.
  • CPU saturation, memory pressure, disk fill, log growth, GPU/NPU contention, cellular bandwidth, power loss, and thermal throttling can change which events are processed, delayed, summarized, or discarded.
  • The handoff is acceptable only when a reviewer can explain behavior during normal operation, disconnection, restart, pressure, and recovery from the recorded evidence.
iotclass.org

Major section

Evidence Roles in the Edge Path

An adapter records device input and its quality; the runtime applies rules or inference and reports its own health.

  • The buffer has a retain, replay, and discard policy for readings or commands.
  • Local decisions can then drive control or alarms without waiting for cloud access, while the operator view shows stale state and recovery.
  • the Edge platform evidence roles for prototype review diagram makes the local data and decision path visible during upstream loss.
  • The edge roles in the Edge platform evidence roles for prototype review diagram keep local behavior visible during upstream loss.
Edge platform evidence roles for prototype review
Edge platform evidence roles for prototype review
iotclass.org

Major section

Evidence Roles in the Edge Path (continued)

The sync path sends evidence upstream later and must handle replay conflicts.

  • Operations keeps version, configuration, and support notes.
  • The handoff states what was proved and which gateway, rule, or data-path change would require another trial.
  • Sync path: Moves summaries, raw data, alerts, state, logs, and handoff notes upstream when a connection is available.
iotclass.org

Major section

Local Autonomy and Buffering Evidence

Local autonomy means the prototype can continue the behavior it promised during representative upstream loss, device noise, resource pressure, or gateway restart.

  • Buffering is part of that evidence, but buffering alone is not the same as autonomy.
  • Normal flow: Device data enters the edge node, reaches the local decision path, updates the local view, and syncs upstream.
  • Buffer pressure: The edge node records what is retained, summarized, prioritized, dropped, or marked for later review.
iotclass.org

Major section

Control, Filtering, Inference

The gateway first needs a device input and quality record so a bad reading is not silently treated as valid.

  • Buffer evidence records what is retained, replayed, or discarded during an upstream gap.
  • After reconnection, sync evidence shows replay order and any conflict.
  • the Evidence matrix for edge platform review diagram keeps buffer, filter, decision, and sync evidence in one edge trial.
  • Filtering or inference needs the cases and outputs used to judge its behavior; a local alarm or command needs a trace of the rule and observed result.
Evidence matrix for edge platform review
Evidence matrix for edge platform review
iotclass.org

Major section

Cloud Sync and Operations Boundaries

The edge-cloud boundary must be explicit.

  • The edge owns buffer, filter, and local decision policy, so alarms and commands can continue when the upstream connection fails.
  • The upstream side keeps longer history, operator workflow, and fleet coordination; after recovery it needs a replay trace and conflict record from the edge.
  • Other evidence belongs upstream because it supports review, fleet coordination, history, or user workflows.
  • A local view should show stale state and runtime health while disconnected.

Why it matters

Other evidence belongs upstream because it supports review, fleet coordination, history, or user workflows.

Edge-cloud boundary review for IoT prototypes
Edge-cloud boundary review for IoT prototypes
iotclass.org

Major section

Worked Scenario: Cold-Room Gateway Trial

A team has already proven cold-room sensor devices and a cloud ingestion path.

  • The next uncertainty is whether a local gateway can keep alarms and state visible while upstream access is unavailable.
  • The team runs representative devices through normal operation, gateway restart, upstream loss, full buffer warning, malformed payload, delayed payload, duplicate payload, local acknowledgement, and reconnection.
  • Reviewers watch the local operator view while engineers inspect runtime logs and sync records.

Why it matters

The edge path is accepted for the next prototype because local alarms remain visible, acknowledgements are recorded, stale state is clear, and replay does not overwrite newer state.

iotclass.org

Major section

Edge Handoff Summary

An edge platform handoff summary should make the edge decision repeatable.

  • It should capture what the edge path proved, what it only implied, and what would require another run.
  • The edge question names behavior that must remain safe and visible; the node set says which gateway and runtime were used.
  • Weak: The edge node can run containers and rules.
Handoff summary template for edge platform evaluation
Handoff summary template for edge platform evaluation
iotclass.org

Major section

Edge Handoff Summary (continued)

Adapter evidence shows input quality, buffer evidence shows retained or discarded data, and decision evidence covers the rule, model, or command.

  • Sync evidence records replay and conflicts after reconnection, while the operations view keeps health and configuration.
  • The next action can repeat, extend, or route work to application or device management when hardware, protocol, rule, buffer, acknowledgement, or conflict policy changes.
  • Weak: The edge platform supports offline operation.
iotclass.org

Deck summary

Key takeaways

It needs a clear local job and a safe way to join the wider service again.

  • An edge platform earns its place when local behavior must continue while a cloud service, WAN link, or upstream workflow is unavailable, too slow, too expensive, or not allowed to receive every raw event.
  • Docker Compose, systemd services, containerd, or k3s can prove service packaging and restart behavior.
  • Without a declared ordering rule, a late packet can overwrite a newer local acknowledgement or make an old alarm look current.
  • An adapter records device input and its quality; the runtime applies rules or inference and reports its own health.
iotclass.org

Retrieval practice

Recall check 1 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q1A team is running a protocol-translation trial to prove Modbus data reaches a local output correctly. Per this chapter's stack-selection guidance, what should stay visible and traceable through that specific trial?

ATrace buffered-record sequence and discard reasons from Modbus input to local output.
BThe protocol field mapped to output: register, node, frame, characteristic, metadata or topic.
CUse model version and confidence as a substitute for the translated protocol field reaching the output.
DCapture gateway image and adapter container tag alongside each local output.
Show answer

Answer: B see answers page

iotclass.org

Retrieval practice

Recall check 2 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q2Per this chapter's edge role checklist, what does the 'Handoff summary' role specifically capture, as distinct from the operator view or sync path roles?

AAccepted evidence, hidden assumptions, rejected options, and change conditions
BLocal state, stale state, active alarms, and accepted or rejected commands
CSummaries, raw data, alerts, state, and logs moved upstream when a connection is available
DRuntime version, configuration, health, storage pressure, and support notes
Show answer

Answer: A see answers page

iotclass.org

Retrieval practice

Recall check 3 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q3A prototype already publishes sensor readings upstream. The next risk is whether a local gateway can keep alarms visible, buffer data, and recover cleanly during upstream loss. What should the first edge evidence loop test?

APolish upstream dashboards before testing local alarm, buffer and restart evidence.
BForward raw readings upstream and use a stateless gateway because cloud services can perform the required local decisions.
CRun a gateway trial for upstream loss, buffer pressure, restart, rejection, replay and visibility.
DSelect a larger edge runtime and accept its offline feature list as recovery evidence.
Show answer

Answer: C Edge platform evidence should prove local ingestion, buffering, control or inference, stale-state visibility, replay behavior, and operations recovery under representative conditions.

iotclass.org

Print reference

Answers 1 of 2

Answer key.

  1. B · The chapter names different evidence fields for different failure-mode trials: protocol edges need the adapter (Modbus/OPC UA/CAN/BLE/LoRaWAN/MQTT) traced to the local output; buffering needs queue depth and retention; inference needs model version and confidence; operations needs OS image and config -- choosing the stack from the failure mode means matching the trial to the right evidence fields.
iotclass.org

Print reference

Answers 2 of 2

Answer key.

  1. A · The chapter's role checklist assigns a distinct evidence job to each of eight roles; Handoff summary is the one that captures accepted evidence, hidden assumptions, rejected options, and change conditions -- separate from what the operator view, sync path, or operations view each show.
  2. C · Edge platform evidence should prove local ingestion, buffering, control or inference, stale-state visibility, replay behavior, and operations recovery under representative conditions.
iotclass.org