Emerging Paradigms · Study deck

Ad-Hoc Production: Routing Trade-offs

The network finds a short route, a path with few forwarding steps.

Blueprint Bina is your guide for this deck.

adhocprod
Blueprint Bina, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: In Figure: Comparative overview of ad hoc routing protocols, the proactive branch keeps routes ready by spending periodic control traffic, while the reactive branch saves that idle work but discovers paths on demand.
  • Explain: the FANET production architecture for UAV networks diagram shows why a route that is valid at one instant can age quickly: aircraft separation and orientation alter both neighbour reachability and the path to the ground station.
  • Explain: The production lesson is to assess route freshness, handoff behaviour, and degraded operation together; a protocol label alone does not prove that the swarm can preserve its mission traffic.
iotclass.org

Major section

Start With the Situation

That path may cross a weak battery with little charge left or an unstable link that loses contact.

  • Failover means switching to another path after one fails.
  • The team must compare alternatives, time that switch, and show why the selected path remains useful under change.
iotclass.org

Major section

Shortest Path Is Not Best Path

The Misconception: Many developers assume shortest-path routing (minimum hop count) is always optimal for ad-hoc networks.

  • In this illustrative comparison, 3 central nodes (high-betweenness) forward 85% of all traffic.
  • In this illustrative comparison, network lifetime reaches 140+ days, at least 5× the 28-day baseline.
  • In this illustrative comparison, minimum battery is 32% after 20 weeks under energy-aware routing, versus 5% after 4 weeks under shortest-path routing; the observation windows differ.
iotclass.org

Major section

Selection Workflow: Multi-Path Failover Timing

Scenario: Industrial control network uses multi-path routing.

  • Primary path fails - calculate total failover time to backup path.
  • Without pre-cached backup, would need 2-3 seconds for route discovery.
iotclass.org

Major section

2. Neglecting Multi-Path Route Caching

Single-path routing fails silently when the primary route breaks, causing 2-5 minute outages while new routes are discovered.

  • Multi-path routing pre-caches backup routes, reducing failure recovery to sub-second.

Always implement at least two disjoint paths for critical links.

iotclass.org

Major section

3. Ignoring Energy Heterogeneity

Deploying shortest-path routing in energy-constrained networks can drain busy relay nodes faster than others, causing premature partition.

  • Energy-aware metrics such as residual battery and path length can distribute load and extend network lifetime.
iotclass.org

Major section

Beacon Tuning Under Mobility

Adaptive beaconing (increase rate on link-quality changes, decrease when stable) can reduce overhead while preserving useful route freshness under tested conditions.

  • Default beacon intervals (1-2 seconds) cause excessive control overhead in static scenarios and stale routes in fast-moving scenarios.
iotclass.org

Major section

Production Readiness Evidence Record

Production readiness is not the same as solving one routing exercise.

  • A useful ad-hoc assessment asks whether the routing claim still holds when traffic rate, node mobility, relay battery, link quality, interference, gateway placement, or recovery policy changes.
  • The worked examples are best read as evidence patterns.
  • The production conclusion must stay scoped to the measured scenario instead of becoming a universal promise about all ad-hoc networks.
  • Energy-aware routing avoids weak batteries but may use longer paths.
Ad hoc routing strategy comparison showing shortest-path, load-balanced, energy-aware, and QoS-aware routing choices with their latency, bottleneck, battery, and reliability trade-offs
Ad hoc routing strategy comparison showing shortest-path, load-balanced, energy-aware, and QoS-aware routing choices with their latency, bottleneck, battery, and reliability trade-offs
iotclass.org

Major section

Failover State Machine Review

Each stage can fail or add delay.

  • Energy-aware routing has the same structure.
  • The review must track relay duty, route churn, battery thresholds, link quality, and whether a backup path quietly moves the bottleneck to a different node.
  • Failure-analysis rule: When a recovery calculation looks strong, ask which state transition was measured and which was assumed.
iotclass.org

Major section

Checkpoint: Summary

Energy-Aware Routing Extends Lifetime: Distributing load across nodes prevents premature battery depletion and network partition.

  • Shortest Path is Not Always Best: For delay-tolerant applications, measured relay load and battery state can justify energy-aware routing.

Why it matters

Multi-Path Redundancy Needs Measured Failover: Pre-cached backup paths can reduce recovery time when detection, switch, and first-packet delivery are recorded.

iotclass.org

Major section

Visual: Ad Hoc Network Architecture

Every relay is both a participant and part of the path, so movement, loss, or battery depletion changes the topology the protocol sees.

  • That dependence is why production assessment begins with route formation and repair rather than assuming a permanent network backbone.
Comprehensive ad hoc network architecture visualization
Comprehensive ad hoc network architecture visualization

Before comparing protocols, use the Comprehensive ad hoc network architecture visualization diagram to establish what the routing system must control.

iotclass.org

Major section

Ad Hoc Routing Protocol Comparison

In Figure: Comparative overview of ad hoc routing protocols, the proactive branch keeps routes ready by spending periodic control traffic, while the reactive branch saves that idle work but discovers paths on demand.

  • The comparison turns the architecture into a workload decision: traffic frequency, mobility, and acceptable first-packet delay determine which cost is defensible.
  • In the Comparative overview of ad hoc routing protocols diagram, the proactive branch keeps routes ready by spending periodic control traffic, while the reactive branch saves that idle work but discovers paths on demand.
Comparative overview of ad hoc routing protocols
Comparative overview of ad hoc routing protocols
iotclass.org

Major section

Visual: Flying Ad Hoc Networks (FANETs)

Figure: FANET production architecture for UAV networks shows why a route that is valid at one instant can age quickly: aircraft separation and orientation alter both neighbour reachability and the path to the ground station.

  • The production lesson is to assess route freshness, handoff behaviour, and degraded operation together; a protocol label alone does not prove that the swarm can preserve its mission traffic.
  • the FANET production architecture for UAV networks diagram shows why a route that is valid at one instant can age quickly: aircraft separation and orientation alter both neighbour reachability and the path to the ground station.
FANET production architecture for UAV networks
FANET production architecture for UAV networks
iotclass.org

Major section

Energy-Aware vs Shortest Path

After choosing a routing family, inspect Figure: Energy-aware routing lifetime impact to see why its path metric must include deployment lifetime.

  • In Figure: Energy-aware routing lifetime impact, minimizing hop count repeatedly selects the same high-betweenness relays, so those batteries become the partition point even while other nodes retain energy.
  • After choosing a routing family, inspect the Energy-aware routing lifetime impact: shortest-path routing concentrates traffic on high-betweenness nodes, rapidly depleting their batteries. Energy-aware routing sacrifices average path length to distribute load across more nodes, extending network lifetime by 5x. This visualization helps operators understand why "optimal" paths may be suboptimal for network longevity diagram to see why its path metric must include deployment lifetime.
  • This visualization helps operators understand why "optimal" paths may be suboptimal for network longevity visible.
  • This visualization helps operators understand why "optimal" paths may be suboptimal for network longevity.
Energy-aware routing lifetime impact: shortest-path routing concentrates traffic on high-betweenness nodes, rapidly depleting their batteries. Energy-aware routing sacrifices average path length to distribute load across more nodes, extending network lifetime by 5x. This visualization helps operators understand why "optimal" paths may be suboptimal for network longevity.
Energy-aware routing lifetime impact: shortest-path routing concentrates traffic on high-betweenness nodes, rapidly depleting their batteries. Energy-aware routing sacrifices average path length to distribute load across more nodes, extending network lifetime by 5x. This visualization helps operators understand why "optimal" paths may be suboptimal for network longevity.
iotclass.org

Major section

Multi-Path Routing Strategies

The right choice depends on application priorities visible.

  • Figure: Multi-path routing strategy comparison makes the consequence of each policy visible: shortest path optimizes immediate latency, load balancing reduces hotspots, energy-aware routing protects weak relays, and QoS-aware routing favours measured delivery with a backup.
  • None is universally best.
  • the Multi-path routing strategy comparison: production ad-hoc networks must choose between four strategies with different optimization goals. Shortest-path minimizes latency but creates hotspots. Load-balanced extends lifetime. Energy-aware preserves low-battery nodes. QoS-aware maximizes delivery ratio. The right choice depends on application priorities diagram makes the consequence of each policy visible: shortest path optimizes immediate latency, load balancing reduces hotspots, energy-aware routing protects weak relays, and QoS-aware routing favours measured delivery with a backup.
Multi-path routing strategy comparison: production ad-hoc networks must choose between four strategies with different optimization goals. Shortest-path minimizes latency but creates hotspots. Load-balanced extends lifetime. Energy-aware preserves low-battery nodes. QoS-aware maximizes delivery ratio. The right choice depends on application priorities.
Multi-path routing strategy comparison: production ad-hoc networks must choose between four strategies with different optimization goals. Shortest-path minimizes latency but creates hotspots. Load-balanced extends lifetime. Energy-aware preserves low-battery nodes. QoS-aware maximizes delivery ratio. The right choice depends on application priorities.
iotclass.org

Deck summary

Key takeaways

That path may cross a weak battery with little charge left or an unstable link that loses contact.

  • The Misconception: Many developers assume shortest-path routing (minimum hop count) is always optimal for ad-hoc networks.
  • Scenario: Industrial control network uses multi-path routing.
  • Single-path routing fails silently when the primary route breaks, causing 2-5 minute outages while new routes are discovered.
  • Deploying shortest-path routing in energy-constrained networks can drain busy relay nodes faster than others, causing premature partition.
iotclass.org

Retrieval practice

Recall check 1 of 2

Blueprint Bina says: answer from memory, then check your reasoning.

Q1What independent alternate path provides continuity when an ad hoc link fails?

ATraffic
BMetrics
CBackup
DPolicy
Show answer

Answer: C An independent alternate path is continuity evidence for a link or node failure.

Q2Complete the backup-route filter used during ad hoc failover:

Aif low_battery(path):
Bif fast_enough(path):
Cif path is None:
Dif paths == []:
Show answer

Answer: A A failover route should reject dying nodes and paths that miss the latency budget before selecting the fastest remaining backup.

iotclass.org

Retrieval practice

Recall check 2 of 2

Blueprint Bina says: answer from memory, then check your reasoning.

Q3A field team reports that an ad-hoc deployment is production-ready because a backup path exists on a diagram. What evidence is still needed before accepting the failover claim?

AMeasured detection time, backup-path health, route-selection logic, first-packet delivery, rejected-route reasons, and retest triggers.
BOnly confirmation that the backup path has the fewest hops, because shortest alternate routes always recover fastest.
COnly the original route table captured at deployment time, because cached ad-hoc routes stay valid until replacement.
DA runbook statement that multi-path topologies recover instantly after any single link failure in normal operation.
Show answer

Answer: A Ad-hoc production readiness depends on measured routing fit, link evidence, failover state, energy state, and retest triggers.

iotclass.org

Print reference

Answers

Answer key.

  1. C · An independent alternate path is continuity evidence for a link or node failure.
  2. A · A failover route should reject dying nodes and paths that miss the latency budget before selecting the fastest remaining backup.
  3. A · Ad-hoc production readiness depends on measured routing fit, link evidence, failover state, energy state, and retest triggers.
iotclass.org