Analytics & ML · Study deck
Edge Cyber-Foraging: Cost and Energy Calculations
A 4K transcode can move heat and delay from a phone to a nearby server.
Data Dora is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- Test putting numbers to it with a concrete scenario and pass criteria.
- Validate test your understanding with a concrete scenario and pass criteria.
- Explain when a nearby cloudlet is a better target than local execution or a distant cloud.
- Compare local and offloaded execution using input size, result size, remote compute, radio energy, and latency.
Major section
Start With the Decision · Putting Numbers to It
A 4K transcode can move heat and delay from a phone to a nearby server.
- This justifies the What/Where/When framework: offload CPU-heavy tasks to capable nearby devices when the network is fast.
- An available surrogate is not automatically a safe offload target.
Major section
Mobile Figure Summary: What/Where/When · Scavenger System Architecture
Opportunistic networking: A communication paradigm where connections are established whenever nodes come within range of each other, without requiring persistent infrastructure, used to distribute processing in dense IoT environments.
- The return path carries a result, but the boundary must also carry identity, task limits, errors, and provenance.
Major section
Mobile Figure Summary: Scavenger Flow · Network Topology and Device Mix
Scavenger Library: Profiles tasks (CPU, memory, network requirements), discovers surrogates, selects optimal target.
- RPC Interface: Serializes tasks, transmits to surrogate, receives results.
- Execution Environment: Sandboxed environment for running client tasks with resource limits.
Major section
Edge Caching Strategies
Caching changes both response distance and the evidence needed to decide whether a reused result is still valid.
- The chapter's caching strategy must therefore couple tier selection with version, TTL, privacy, and invalidation evidence; a hit is useful only when the object remains correct for the decision.
Major section
Task Profiling · AR Navigation Offloading
The app renders 3D audio-visual overlays in real-time, requiring GPU resources that exceed typical smartphone capabilities.
- The SGD 48,000 cloudlet investment pays for itself in about 8 months through eliminated cloud GPU costs, plus additional savings from reduced 5G data usage.
- Key Insight:: Cyber-foraging excels when the offloading environment is predictable.
- Train stations, airports, and hospitals have fixed infrastructure where cloudlets can be pre-positioned.
Major section
Cyber-Foraging Offload Contracts
Cyber-foraging only works when the offload decision is measured instead of assumed.
- Running it on the glasses may drain the battery.
- Sending every image to a distant service may be too slow or fail when the outside link drops.
- Offloading means sending a computing job to another machine.
- The safe choice depends on the repair task.
Major section
Concept Relationships · Continue Your Route
Edge Compute Patterns -- Cyber-foraging is an advanced offloading pattern beyond basic filter/aggregate/infer.
- IoT Reference Model -- Cyber-foraging operates at Level 3 (edge compute) leveraging nearby Level 4 (fog) resources.
- Edge Fog Computing -- Cloudlets are pre-positioned fog nodes; cyber-foraging discovers opportunistic fog resources.
- Edge Patterns Practical Guide -- Latency calculator helps decide when offloading saves time vs network overhead.
- Edge Data Acquisition -- Cyber-foraging offloads processing but still requires edge data collection.
Deck summary
Key takeaways
A 4K transcode can move heat and delay from a phone to a nearby server.
- Opportunistic networking: A communication paradigm where connections are established whenever nodes come within range of each other, without requiring persistent infrastructure, used to distribute processing in dense IoT environments.
- Scavenger Library: Profiles tasks (CPU, memory, network requirements), discovers surrogates, selects optimal target.
- Caching changes both response distance and the evidence needed to decide whether a reused result is still valid.
- The app renders 3D audio-visual overlays in real-time, requiring GPU resources that exceed typical smartphone capabilities.
Retrieval practice
Recall check 1 of 6

Data Dora says: answer from memory, then check your reasoning.
Q1Place each cyber-foraging responsibility where it lives so you can offload urgent work without trusting the wrong surrogate or reusing a stale result.
Show answer
Answer: A Place each cyber-foraging responsibility where it lives so you can offload urgent work without trusting the wrong surrogate or reusing a stale result.
Retrieval practice
Recall check 2 of 6

Data Dora says: answer from memory, then check your reasoning.
Q2What is a cloudlet in the context of cyber foraging?
Show answer
Answer: A A cloudlet provides nearby, low-latency computation for devices that should not do every heavy task locally.
Retrieval practice
Recall check 3 of 6

Data Dora says: answer from memory, then check your reasoning.
Q3Which task is the BEST candidate to offload from a constrained device to a nearby cloudlet?
Show answer
Answer: A Heavy compute plus small data is the classic profitable offload case.
Retrieval practice
Recall check 4 of 6

Data Dora says: answer from memory, then check your reasoning.
Q4A mobile AR application needs to render 3D building overlays during a 30-minute city walking tour. The phone lacks sufficient GPU power for real-time rendering. Which edge offloading strategy is most appropriate?
Show answer
Answer: B Cloudlet virtualization is best for long sessions (30 minutes) with computation-intensive graphical workloads.
Retrieval practice
Recall check 5 of 6

Data Dora says: answer from memory, then check your reasoning.
Q5An IoT video surveillance system uses a three-tier edge caching hierarchy: device cache, nearby access point cache, and cloud CDN. Approximately what percentage of requests typically need to reach the cloud CDN?
Show answer
Answer: D see answers page
Retrieval practice
Recall check 6 of 6

Data Dora says: answer from memory, then check your reasoning.
Q6In a three-tier edge caching hierarchy (device, nearby AP cache, cloud CDN), what is the typical percentage of traffic served from the edge (Tier 1 + Tier 2 combined)?
Show answer
Answer: Review the source
Print reference
Answers 1 of 2
Answer key.
- A · Place each cyber-foraging responsibility where it lives so you can offload urgent work without trusting the wrong surrogate or reusing a stale result.
- A · A cloudlet provides nearby, low-latency computation for devices that should not do every heavy task locally.
- A · Heavy compute plus small data is the classic profitable offload case.
- B · Cloudlet virtualization is best for long sessions (30 minutes) with computation-intensive graphical workloads.
Print reference
Answers 2 of 2
Answer key.
- D · In a typical three-tier edge caching hierarchy, about 30% of requests hit the device cache (recently accessed content), 40% hit the nearby access point cache (locally popular content), and only 30% reach the cloud CDN for long-tail or rarely accessed content.
- Review the source