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

A Clear First Route

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.
  • This page starts with one job.
  • Sending work can cost more time and power than it saves.
iotclass.org

Major section

A Clear First Route (continued)

Last, choose run here, send the work nearby, use saved data, or stop.

  • A cached result can also be too old.
  • This first route is a guide to the main choice.
  • Under the Hood adds offload maths, virtual machines, agents, weak links, and stale cache risk.
  • They do not reverse its main claim.
iotclass.org

Major section

A Clear First Route (continued)

If two sources differ, keep that fact in the record.

  • A late result may be true about the past and still be unsafe now.
  • A missing result is also useful news when the system shows it at once.
  • A person may inspect the site.
  • A local rule may hold a safe state.
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.

  • Last, choose run here, send the work nearby, use saved data, or stop.
  • If two sources differ, keep that fact in the record.
  • 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.
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 CPU-heavy but delay-tolerant task, since its cost is high and its deadline is loose
BA tiny task with a hard millisecond deadline, since its small payload makes the transfer brief.
CA lightweight task on a battery-powered device, since moving its computation frees the local CPU.
DA task that reads local sensors continuously and cannot leave the device
Show answer

Answer: A 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. A · The best offload candidates are CPU-heavy, delay-tolerant tasks; latency-critical or hardware-bound work stays local.
iotclass.org