Edge & Fog Computing · Study deck

Edge-Fog Use Cases: Placement Patterns

A safety alert may arrive too late when every sample travels to the cloud.

Edge Eddie is your guide for this deck.

casesbandwidthdecision
Edge Eddie, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Identify the main constraint that makes an edge-fog design useful in a given IoT use case.
  • Assign immediate actions, site coordination, and long-term analytics to edge, fog, and cloud tiers.
  • Compare industrial, autonomous, privacy-sensitive, infrastructure, field, and energy use cases without relying on universal numeric claims.
  • Write a placement record that captures data rate, latency budget, privacy boundary, failure mode, and verification evidence.
iotclass.org

Major section

In 60 Seconds

A riverside pump must stop when its intake is blocked.

  • A nearby site computer coordinates several pumps, while a remote service compares months of use across the fleet.
  • If the stop decision waits for a distant service, a broken link can turn an ordinary fault into damage.
  • The system owner must place each duty by consequence.
  • Delay stored records.
iotclass.org

Major section

In 60 Seconds (continued)

This three-part picture is not a rule that every task belongs in one fixed place.

  • Capacity, context, safety, privacy, and upkeep differ by site.
  • Those results justify placement more strongly than a domain label or a fast demo.
  • Edge and fog use cases are not justified by naming a fashionable domain.
iotclass.org

Major section

Use-Case Placement Map

The same domain can contain edge, fog, and cloud workloads at the same time.

  • For example, a smart factory may stop a machine at the edge, correlate production-line anomalies at a fog server, and retrain models in the cloud.
  • Maintain fleet history, train models, plan capacity, run cross-site analytics, and provide long-term reporting.

Numbers to remember

10–100 msThe 10–100 ms branch tests Q2: Bandwidth constraint?
IoT architecture placement decision tree: response-time, bandwidth, and privacy requirements route a workload to edge, fog, or cloud processing.
IoT architecture placement decision tree: response-time, bandwidth, and privacy requirements route a workload to edge, fog, or cloud processing.
iotclass.org

Major section

Use-Case Placement Map (continued)

The useful question is not "which domain is this?" but "which workload has which constraint?".

  • The 10–100 ms branch tests Q2: Bandwidth constraint?, with constrained traffic pointing to FOG; later questions cover local privacy, operation during outage, and massive scale before choosing HYBRID.
  • The examples below are illustrations of those branches, so the design decision should preserve the answers rather than copy a domain label.
  • Act on immediate sensor context, enforce local safety, filter high-rate data, and keep a defined behavior during upstream outages.
iotclass.org

Major section

Pattern 2: Autonomous and Mobile Systems

Immediate perception and control are local; cooperative awareness and route coordination can use nearby infrastructure; fleet learning and compliance reporting can happen later.

  • Sensor fusion, obstacle avoidance, stabilization, braking, steering, and emergency fallback should not depend on a cloud response.
  • Roadside units, base-station edge nodes, depot gateways, or field stations can coordinate multiple mobile assets and provide local updates.
  • Route optimization, model training, policy review, and fleet analytics can use batches, samples, and event evidence after the trip.
iotclass.org

Major section

Pattern 3: Privacy-Sensitive Sensing

Cameras, microphones, location traces, health measurements, and building-occupancy streams can expose people.

  • Detect, crop, blur, count, classify, or summarize near the sensor so raw sensitive content is not transmitted by default.
  • Encryption in transit is necessary but not the same as data minimization.
  • If the cloud still receives raw identifiable content, the privacy risk remains.

Why it matters

Edge and fog processing can reduce that exposure when the architecture collects only what is needed for the purpose.

iotclass.org

Major section

Pattern 4: Smart Infrastructure and Buildings

One traffic light can react locally; an intersection controller coordinates approaches; a city platform studies patterns over weeks.

  • One room sensor can count occupancy; a building gateway can coordinate HVAC zones; a cloud service can compare energy performance across sites.
  • Edge sensors detect local state, fog controllers coordinate corridors or intersections, and cloud analytics plan long-term changes.
  • Local alarms and site gateways must keep operating when wide-area connectivity is degraded, with cloud reporting restored when links return.
iotclass.org

Major section

Pattern 5: Field, Agriculture, and Remote Operations

Farms, mines, pipelines, offshore sites, and environmental monitoring deployments often have intermittent connectivity, limited power, and large sensing payloads.

  • Their edge-fog pattern is less about polished dashboards and more about survivable local behavior.
  • Collect batches from field devices, deduplicate readings, schedule uploads, and provide a local operator view.
  • Farms and mines are one shape of field deployment.
  • Sending that data to the cloud for analysis first is too slow to improve safety and reliability.
iotclass.org

Major section

Pattern 5: Field, Agriculture, and Remote Operations (continued)

Pipelines, rail corridors, and wind farms are another: the asset is spread across many kilometers rather than concentrated on one site, so the fog tier's job is covering distance, not just one building.

  • Sending all of it to the cloud for analysis and storage is not efficient, and the network latency is not acceptable when a compressor fault needs a fast local response.
  • Trackside fog nodes deployed along a rail corridor can analyze track-condition data fast enough to matter for a high-speed train.
  • A corridor or farm being "instrumented" does not guarantee reliable backhaul.
iotclass.org

Major section

Quantify High-Rate Streams

For video analytics, the bandwidth argument should be calculated, not assumed.

  • A 50-camera site at that rate is roughly 2.1 TB/day of raw upload.
  • If the operational need is occupancy counts, queue alerts, or shelf-gap events, the edge can send compact event metadata while fog coordinates the store and cloud receives the history.
  • The exact numbers change by camera, codec, duty cycle, and retention policy, but the review method is stable: compare raw bytes, event bytes, retained samples, and missed-event risk before accepting the placement.
iotclass.org

Major section

Placement Review Loop

Collect evidence adds timing traces, queue load, data volume, and recovery, and Revise record replaces assumptions with pilot measurements.

  • The loop keeps placement tied to observed constraints as the use case evolves.
  • A stale record is a hidden architecture risk.

Why it matters

It prevents the design from becoming a list of impressive domains without architecture evidence.

A six-step edge-fog use-case review loop: name the decision, quantify constraints, choose tier responsibility, define degraded behavior, test with evidence, and update the placement record.
A six-step edge-fog use-case review loop: name the decision, quantify constraints, choose tier responsibility, define degraded behavior, test with evidence, and update the placement record.
iotclass.org

Major section

Worked Example: Site Video Analytics

The business goal is operational analytics, not storing customer video.

  • Camera frames are analyzed for occupancy count, queue length, and shelf-gap exceptions.
  • The system should avoid transmitting raw customer video except for explicitly approved evidence samples.
  • Queue alerts are operationally useful only while the queue still exists.
  • Continuous video is a high-volume stream.

Key terms

Raw frames
Raw frames are short-lived unless an approved policy explicitly retains evidence.
iotclass.org

Deck summary

Key takeaways

A riverside pump must stop when its intake is blocked.

  • This three-part picture is not a rule that every task belongs in one fixed place.
  • The same domain can contain edge, fog, and cloud workloads at the same time.
  • The useful question is not "which domain is this?" but "which workload has which constraint?".
  • Immediate perception and control are local; cooperative awareness and route coordination can use nearby infrastructure; fleet learning and compliance reporting can happen later.
iotclass.org

Retrieval practice

Recall check 1 of 3

Edge Eddie says: answer from memory, then check your reasoning.

Q1A team says, "This is a smart factory, so everything should run at the edge." What is the best review response?

AApprove edge-only after confirming the plant has many sensors and modern local hardware.
BAsk which workload has which constraint, then split control, coordination, and history across tiers.
CCentralize factory processing in cloud to combine production context and simplify model updates.
DChoose fog-only because one site server can replace device actions and fleet analytics.
Show answer

Answer: B Placement follows workload constraints, not the factory label.

iotclass.org

Retrieval practice

Recall check 2 of 3

Edge Eddie says: answer from memory, then check your reasoning.

Q2Which task belongs closest to the vehicle rather than at a roadside fog unit or cloud service?

AFleet-wide model retraining from weeks of labelled driving events
BImmediate obstacle avoidance and braking based on local sensors
CRegional traffic trend reporting across many routes
DMonthly compliance dashboard generation
Show answer

Answer: B Immediate control must remain on the vehicle because it depends on current physical context and cannot wait for a network path.

iotclass.org

Retrieval practice

Recall check 3 of 3

Edge Eddie says: answer from memory, then check your reasoning.

Q3A 50-camera site would need to upload roughly 2.1 TB/day if every 4 Mbit/s camera stream were sent continuously to the cloud. What is the stronger edge-fog placement?

ARun local detection, send compact event metadata, coordinate site events at fog, and keep cloud for history and model review.
BUpload the raw streams and perform detection centrally, keeping the site software simple and model updates in one place.
CKeep detections on the cameras and discard supporting images after the local action, minimizing uploads and retained sensitive data.
DUse fog for the technician dashboard and forward the raw camera streams upstream for cloud storage and later analysis.
Show answer

Answer: A High-rate streams should be quantified.

iotclass.org

Print reference

Answers

Answer key.

  1. B · Placement follows workload constraints, not the factory label.
  2. B · Immediate control must remain on the vehicle because it depends on current physical context and cannot wait for a network path.
  3. A · High-rate streams should be quantified.
iotclass.org