IoT Engineer

Case File: What the Cloud Thinks the Device Is Doing

The cloud keeps a copy of each device state, a shadow with what the device last reported, what the cloud wants it to be, and a version number. On a slow link, updates arrive late and out of order, and an old update must not overwrite a newer state. Apply a list of updates with the version rule (only the next version is accepted), say why each rejected update was stale or left a gap, and compute the delta: what the device still has to do. Run it on shadows that you cannot see. The shadow is generated for you alone.

50 min

Case File: What the Cloud Thinks the Device Is Doing

The cloud keeps a copy of each device state, a shadow with what the device last reported, what the cloud wants it to be, and a version number. On a slow link, updates arrive late and out of order, and an old update must not overwrite a newer state. Apply a list of updates with the version rule (only the next version is accepted), say why each rejected update was stale or left a gap, and compute the delta: what the device still has to do. Run it on shadows that you cannot see. The shadow is generated for you alone.

In this lesson:

  • device shadow
  • state
  • versions
  • iot
  • python
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans