Opening the book…
An important consideration is designing protocols for cloud and edge to collaborate. In practice, edge and cloud continuously exchange information. An edge device might send periodic heartbeats or status to the cloud to indicate it’s functioning. The cloud might push policy updates or new AI model parameters down to the edge when available.
For instance, in an IoT health monitoring scenario, wearable devices (edges) gather patient data and do initial processing (detect heart arrhythmias in real-time). They send alerts to a cloud service which aggregates data from many patients and runs heavy analytics or triggers emergency workflows (like notifying doctors). The cloud might also send configuration back to devices (e.g., “increase sampling rate if patient crosses threshold”). Designing robust messaging between cloud and edge is key – often using MQTT or cloud APIs for command & control as described earlier (device shadows, etc.).
To ensure low latency for critical messages, some systems use a direct device-to-device local path when possible (for example, using local networks or edge brokers), and reserve cloud paths for non-critical comms or as a backup.
In summary, balancing what runs on edge vs cloud is a central architectural decision in IoT projects. Latency considerations demand that time-sensitive and critical tasks remain local to avoid network delays. Workload distribution should leverage the edge for what it’s best at (fast, local, resilient operations) and the cloud for what it excels at (global visibility, heavy computation, long-term storage). By thoughtfully partitioning responsibilities, one can create a system that is both responsive and intelligent. A well-known phrase capturing this is: “Do in the edge what you must, do in the cloud what you can.” Cloud project managers should define clear criteria (latency requirements, data criticality, connectivity guarantees, etc.) to decide the placement of each part of the application logic.

This page titled 13.4.3: Cloud-Edge Collaboration was last modified on Tue, 22 Sep 2026 21:13:35 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Felix Amoruwa.
The book could not be loaded just now.