Analytics & ML · Study deck

Edge Cyber-Foraging: Placement and Caching Decisions

A phone should offload a task only when the nearby server can beat its deadline.

Data Dora is your guide for this deck.

edgepatternscyber
Data Dora, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain Cyber-Foraging Concepts: Describe how mobile devices opportunistically discover and leverage nearby computational resources
  • Apply the What/Where/When Framework: Evaluate offloading decisions based on task characteristics, surrogate capabilities, and timing constraints
  • Compare Virtualization vs Mobile Agents: Distinguish between cloudlet-based and agent-based approaches for different session durations and isolation requirements
  • Design Edge Caching Strategies: Implement multi-tier caching hierarchies for optimal latency and bandwidth
iotclass.org

Major section

Choose Where the Glasses Compute

The device must decide whether to work alone, use a nearby helper, or wait.

  • Bandwidth means how much data a link can carry in a set time.
  • Latency means the wait from a task's start to its useful result.
  • A nearby helper may compute quickly while the complete offload path still costs more than local processing.

Key terms

If a saved map
If a saved map is older than the room state it describes, label it as old rather than treating it as a fresh view.
iotclass.org

Major section

Choose Where the Glasses Compute (continued)

For the glasses, offloading helps only when a nearby helper finishes the room-mapping task before the useful deadline and uses less battery than local work.

  • Sending data, waiting for the helper, and receiving the answer all count; a cached room map needs an age check before use.
  • Sending task data, waiting for the helper and receiving the result contribute to elapsed time and battery use.
  • For the room-mapping task, the returned map must meet the useful deadline, and offloading should use less battery than local work.
  • A failed transfer should return the glasses to the tested local or wait path.
iotclass.org

Major section

In 60 Seconds

Cyber-foraging enables resource-constrained mobile devices to opportunistically discover and offload computation to nearby devices called surrogates.

  • Edge caching across three tiers (device, surrogate, cloud) further reduces latency and bandwidth.
iotclass.org

Major section

Cyber-Foraging and Caching Basics

Instead of sending the problem all the way to a faraway server (the cloud), your phone looks around for a nearby laptop or tablet that can help.

  • This "looking for nearby help" is called cyber-foraging.
  • Caching is like keeping a copy of answers you already got, so you do not have to ask again.
iotclass.org

Major section

What is Cyber-Foraging?

Definition: Cyber-foraging is the practice of augmenting the computing capabilities of wireless mobile computers by dynamically discovering and leveraging nearby computational resources.

  • Dynamic: Adapts to changing network topology and device availability.
  • Autonomous: Devices make independent decisions about offloading.
iotclass.org

Deck summary

Key takeaways

The device must decide whether to work alone, use a nearby helper, or wait.

  • For the glasses, offloading helps only when a nearby helper finishes the room-mapping task before the useful deadline and uses less battery than local work.
  • Cyber-foraging enables resource-constrained mobile devices to opportunistically discover and offload computation to nearby devices called surrogates.
  • Instead of sending the problem all the way to a faraway server (the cloud), your phone looks around for a nearby laptop or tablet that can help.
  • Definition: Cyber-foraging is the practice of augmenting the computing capabilities of wireless mobile computers by dynamically discovering and leveraging nearby computational resources.
iotclass.org

Retrieval practice

Recall check

Data Dora says: answer from memory, then check your reasoning.

Q1In the cyber-foraging What/Where/When framework, which kind of task is the best candidate to offload to a nearby surrogate?

AA tiny task with a hard millisecond deadline, since its small payload makes the transfer brief.
BA lightweight task on a battery-powered device, since moving its computation frees the local CPU.
CA task that reads local sensors continuously and cannot leave the device
DA CPU-heavy but delay-tolerant task, since its cost is high and its deadline is loose
Show answer

Answer: D The best offload candidates are CPU-heavy, delay-tolerant tasks; latency-critical or hardware-bound work stays local.

iotclass.org

Print reference

Answers

Answer key.

  1. D · The best offload candidates are CPU-heavy, delay-tolerant tasks; latency-critical or hardware-bound work stays local.
iotclass.org