Sensor Cache Reply, Pull and Refresh

Sensor Cache Reply, Pull and Refresh

Try Select Step from the scheduled refresh scene to trace the direct reply from the internal cache to the consumer application.

Sensor Cache Reply, Pull and Refresh

Step-through

Compare a direct cache reply with a request that needs a fresher copy. Watch the external cache refresh on its own schedule.

Refresh the external cache

Consumer application

Submits a freshness requirement.

Internal cache

Stored reading

External cache

Stored reading

Scheduled refresh · interval marker

Physical sensing layer

Source of readings

Request handling

Idle

Scheduled refresh

The interval marker starts the refresh. The physical sensing layer sends a reading to the external cache.

The external cache refreshes from the physical layer on an interval. Conditions that change slowly can make repeated sensing waste energy.

Observe The internal cache badge changes from Good enough for this use in frame 2 to Too old for this use in frame 3, and an arrow appears toward the external cache.
Explain The internal cache replies directly in frame 2 because its stored reading meets the consumer’s freshness requirement. In frame 3 the reading is too old for that request, so the cache pulls an external copy.

Technical boundaries. The interval marker stands in for the external cache schedule, with no duration shown. Freshness appears as a decision for the current use, without numerical reading ages. The alternate case ends at the decision if the available copy is too old.

Back to the chapter