16  Topology Comprehensive Review

Key Concepts
  • Comprehensive Review: A structured re-examination of all topology concepts, connecting fundamentals to analysis, design, and real-world applications
  • Topology Selection Framework: The complete decision process from requirements gathering through scoring to final recommendation
  • Graph-Theoretic Metrics: Quantitative measures (diameter, connectivity, betweenness centrality) that objectively compare topology designs
  • Failure Domain Analysis: Identifying which nodes or links, if failed, would isolate the largest number of devices
  • Protocol-Topology Alignment: Matching topology choice to the capabilities and constraints of the chosen wireless protocol
  • Hybrid Architecture: Combining two or more topology types to serve different device classes within one deployment
  • Design Review: A formal evaluation of a proposed topology against stated requirements before commitment to hardware

16.1 In 60 Seconds

This comprehensive review tests your ability to calculate mesh connectivity, analyze redundancy, and compare topology designs using graph theory. You will compute link counts, connectivity ratios, and network diameter for real IoT deployments, connecting mathematical analysis to practical performance outcomes like latency, fault tolerance, and cost.

This review assumes you are comfortable with:

Use this chapter to connect those ideas to graph-style reasoning:

  • You will compute link counts, redundancy, and diameter for different designs and relate them back to IoT performance (latency, reliability, cost).
  • If the math feels heavy, revisit the visuals and examples in the fundamentals chapter first, then use these questions as “boss level” checkpoints.

16.2 Learning Objectives

By the end of this review, you will be able to:

  • Calculate Mesh Connectivity: Compute link counts and connectivity ratios for partial mesh networks
  • Analyze Redundancy: Evaluate fault tolerance quantitatively based on topology structure
  • Compare Topologies: Assess star, tree, mesh, and hybrid topologies against specific deployment requirements
  • Optimize Network Design: Balance cost, redundancy, and performance when selecting topologies
  • Apply Graph Theory: Validate topology designs using connectivity, diameter, and degree calculations
  • Solve Design Scenarios: Demonstrate mastery through challenging real-world topology problems

16.3 Prerequisites

Required Chapters:

Estimated Time: 90 minutes (all sections)

16.4 Review Chapters

This comprehensive review is organized into three focused chapters:

16.4.1 1. Topology Comparison and Trade-offs

Network Topologies: Comparison and Trade-offs

Covers the foundational comparison of topology types:

  • Visual comparison of star, mesh, tree, and ring topologies
  • Key trade-offs: fault tolerance, scalability, latency, installation complexity, and cost
  • Common misconception: why more mesh links don’t always improve performance
  • The 40-60% connectivity ratio sweet spot for mesh networks
  • Decision trees for topology selection based on IoT requirements

Time: ~20 minutes

16.4.2 2. Design Analysis Questions

Network Topologies: Design Analysis

Focuses on analytical questions about topology characteristics:

  • Network diameter impact on latency (star vs line topology)
  • Protocol-topology matching (Zigbee, Wi-Fi, LoRaWAN, Bluetooth)
  • Physical vs logical topology differences
  • Mesh self-healing behavior analysis
  • Switch vs hub logical topology
  • LoRaWAN star architecture limitations
  • Bus topology failure modes
  • Token ring latency calculations
  • Star vs mesh selection criteria

Time: ~25 minutes

16.4.3 3. Scenario-Based Assessment

Network Topologies: Scenario-Based Review

Tests your knowledge through real-world deployment scenarios:

  • Hybrid topology design (mesh + star backhaul)
  • Physical vs logical diagram purposes
  • Partial mesh link counting
  • Hierarchical mesh for battery life optimization
  • Campus-scale deployment planning
  • Topology comparison table completion
  • Fault tolerance categorization
  • Mesh benefits and tradeoffs (multi-select)
  • Topology-application matching
  • Scalability and reliability true/false evaluation

Time: ~30 minutes

16.5 Key Takeaways

After completing all review sections, you should understand:

  • Network topology describes arrangement of network elements (nodes and links)
  • Physical topology shows actual device locations, cable routes, and wireless coverage
  • Logical topology shows communication flow and device connectivity (not physical layout)
  • Physical and logical topologies are usually different for the same network
  • Common logical types: Star, extended star, bus, ring, full mesh, partial mesh
  • Star topology is most common for IoT (centralized control, easy management)
  • Mesh topology provides redundancy (Zigbee uses automatic mesh formation)
  • IoT topologies require special consideration (massive device count, multiple protocols)
  • Connectivity ratio of 40-60% balances redundancy against overhead
  • Hybrid topologies often provide best cost-performance balance for large deployments

16.6 Next Steps

Start with the first review chapter:

Begin Review: Topology Comparison and Trade-offs

Or jump directly to a specific section:

After completing the review:

Further Resources

Drawing Tools:

Network Planning:

  • Ekahau - Wi-Fi site survey and planning
  • NetSpot - Wireless network planning

Standards:

Practice:

  • Design topology for your home/office
  • Create physical layout on floor plan
  • Compare star vs mesh for different IoT scenarios

16.7 Interactive Calculators

Try It: Mesh Connectivity Calculator
Try It: Topology Cost vs. Latency Comparison

16.8 Knowledge Check

Scenario: A smart factory is deploying 25 industrial sensors in a partial mesh topology. The network architect must decide on the optimal number of connections to balance fault tolerance against cost.

Given Information:

  • 25 sensor nodes
  • Connection cost: $120 per wireless link (hardware + configuration)
  • Reliability requirement: Network must survive 2 simultaneous node failures
  • Budget constraint: $3,600 for connectivity infrastructure

Step 1: Calculate Full Mesh Baseline

# Full mesh connections formula: n(n-1)/2
nodes = 25
full_mesh_connections = (nodes * (nodes - 1)) // 2
                      = (25 * 24) // 2
                      = 300 connections

full_mesh_cost = 300 × $120 = $36,000

Conclusion: Full mesh is 10× over budget and unnecessary for this deployment.

Step 2: Determine Minimum Connectivity for Fault Tolerance

For network to survive 2 simultaneous failures with reasonable probability: - Each node needs at least 3 connections (if 2 neighbors fail, 1 remains) - Industry standard: 40-60% connectivity ratio provides good fault tolerance

Step 3: Calculate Partial Mesh Options

# Option A: 40% connectivity
connections_40pct = int(300 × 0.40) = 120 connections
cost_40pct        = 120 × $120     = $14,400  (still over budget)

# Option B: 30% connectivity (minimum for 3 connections/node avg)
connections_30pct = int(300 × 0.30) = 90 connections
cost_30pct        = 90 × $120      = $10,800  (still over budget)

# Option C: Budget-constrained approach
budget_connections        = $3,600 / $120      = 30 connections
connectivity_ratio        = 30 / 300           = 0.10  (10%)
avg_connections_per_node  = (30 × 2) / 25     = 2.4 connections/node

Step 4: Analyze Feasibility

With only 30 connections (10% connectivity): - Average 2.4 connections per node (below 3-connection minimum for 2-failure tolerance) - Risk: Some nodes may have only 1-2 neighbors, creating vulnerability

Step 5: Recommendation

Hybrid Topology Solution:

  • Use tree topology backbone with selective mesh for critical nodes
  • 24 connections form tree (each node connects to parent): 24 × $120 = $2,880
  • 6 connections add redundancy to critical measurement points: 6 × $120 = $720
  • Total: $3,600 (on budget)
  • Connectivity ratio: 30/300 = 10% (but strategically placed)

Result: Tree provides basic connectivity to all nodes. Selective mesh adds redundancy where it matters most (nodes near production bottlenecks). Network survives single failure anywhere, and survives dual failure except at critical nodes (acceptable for budget constraint).

Key Insight: Connectivity ratio alone does not determine fault tolerance — link placement matters more than the raw percentage.

Let’s quantify the cost-performance tradeoff between topology choices for a campus IoT deployment with 50 sensor nodes:

Full mesh analysis: \[ \begin{aligned} \text{Link count} &= \frac{n(n-1)}{2} = \frac{50 \times 49}{2} = 1225\text{ links} \\ \text{Cost @ \$50/link} &= 1225 \times 50 = \$61,250 \\ \text{Avg connections/node} &= \frac{2 \times 1225}{50} = 49\text{ neighbors} \\ \text{Network diameter} &= 1\text{ hop (all direct)} \end{aligned} \]

Star topology analysis: \[ \begin{aligned} \text{Link count} &= n = 50\text{ links (to hub)} \\ \text{Cost @ \$50/link} &= 50 \times 50 = \$2,500 \\ \text{Avg connections/node} &= 1\text{ (to hub only)} \\ \text{Network diameter} &= 2\text{ hops (node→hub→node)} \end{aligned} \]

Partial mesh (40% connectivity): \[ \begin{aligned} \text{Link count} &= 1225 \times 0.40 = 490\text{ links} \\ \text{Cost @ \$50/link} &= 490 \times 50 = \$24,500 \\ \text{Avg connections/node} &= \frac{2 \times 490}{50} = 19.6\text{ neighbors} \\ \text{Network diameter} &\approx 3\text{-}4\text{ hops (empirical)} \end{aligned} \]

Latency impact (10 ms per hop processing, 250 kbps link): \[ \begin{aligned} \text{Packet size} &= 50\text{ bytes} \\ \text{Link transmission} &= \frac{50 \times 8}{250000} = 1.6\text{ ms} \\[0.5em] \text{Full mesh latency:} \\ &= 1 \times (10 + 1.6) = 11.6\text{ ms} \\[0.5em] \text{Star latency:} \\ &= 2 \times (10 + 1.6) = 23.2\text{ ms} \\[0.5em] \text{Partial mesh latency:} \\ &= 3.5 \times (10 + 1.6) = 40.6\text{ ms} \end{aligned} \]

Cost-latency tradeoff matrix:

Topology Cost Latency Cost/ms saved
Star (baseline) $2,500 23.2 ms
Partial mesh $24,500 40.6 ms Worse (slower + costlier)
Full mesh $61,250 11.6 ms $5,086/ms

Result: Full mesh costs 24× more than star but only saves 11.6 ms of latency. For a pure latency+cost analysis, partial mesh is the worst outcome — it costs 10× more than star yet is 75% slower. Star is optimal when latency and cost are the primary constraints.

Note: This analysis intentionally ignores fault tolerance. Partial mesh still provides redundant paths that star topology cannot — a critical consideration for high-availability deployments. The “right” topology always depends on which requirements dominate.

16.9 Concept Relationships

Builds Upon:

Enables:

Related Concepts:

  • Connectivity ratio (40-60%) balances redundancy against cost
  • Network diameter directly affects worst-case latency
  • Hybrid topologies often provide best real-world balance

16.10 See Also

Topology Analysis Tools:

Related Technologies:

Design Resources:

Common Pitfalls

Students review each chapter topic independently and miss the connections (e.g., how graph-theoretic diameter predicts the latency implications of topology choice). Fix: create a mind map linking topology type → graph metric → real-world implication → protocol recommendation.

Pure topology types rarely fit complex real-world deployments. Fix: when reviewing case studies, always ask whether a hybrid design could address the weaknesses of the pure topology chosen.

Star costs O(n) while full mesh costs O(n²). This non-linear scaling is easy to overlook for small n but devastating at large n. Fix: always calculate connection counts for both the current scale and 5× growth before finalising a design.

16.11 What’s Next

If you want to… Read this
Review topology analysis metrics Topology Analysis
Study hybrid topology design Hybrid Design
Practise with the topology lab Topology Lab
Explore interactive topology tools Interactive Topology
Go back to the module index Topologies Overview