Emerging Paradigms · Study deck

DTN Social Routing: Community and Forwarding Decisions

A popular node is not always the best carrier for a given community.

Blueprint Bina is your guide for this deck.

adhocsocialrouting
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: A copy moves only when a neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it is delivered directly to an interested subscriber when encountered.
  • Explain: SocialCast transfers a copy when the neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it delivers directly to interested subscribers when encountered.
  • Explain: B's three encounters per day offer more frequent contact opportunities than A's one encounter per week; these rates alone do not establish a delivery probability.
  • Explain community-aware SocialCast forwarding.
SocialCast delivery and overhead trade-off as gamma increases
SocialCast delivery and overhead trade-off as gamma increases
iotclass.org

Major section

Figure Summary: SocialCast Workflow

A copy moves only when a neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it is delivered directly to an interested subscriber when encountered.

  • Subscriber participation: Subscribers with high utility can act as carriers.
  • Delivery rises at first, then the gain starts to flatten near five to ten copies.
  • In that illustrative trace, epidemic spread gives 95% delivery with 800% to 1,200% overhead.
SocialCast bounded-replication workflow for DTN publish-subscribe delivery
SocialCast bounded-replication workflow for DTN publish-subscribe delivery
iotclass.org

Major section

Figure Summary: Gamma Trade-off

In the same illustrative trace, epidemic routing delivers 95% with 800–1,200% overhead.

  • TTL Impact: Longer TTL values usually improve delivery in sparse networks because a copy has more time to encounter a better carrier or subscriber.
  • The trade-off is buffer pressure: every extra hour of TTL keeps stale data in constrained devices longer.
  • More replicas improve delivery because more carriers can discover useful contacts.

Why it matters

More replicas improve delivery because more carriers can discover useful contacts.

iotclass.org

Major section

Selection Workflow: Resource-Aware Teaching Score

A transfer decision requires the configured margin; these encounter rates do not establish delivery probability.

  • Key Insight: SocialCast uses interest-specific predictions of subscriber colocation and connectivity change, with a hysteresis margin to limit oscillation.

Scenario: A smart city deploys sensors on delivery vehicles for air quality monitoring. Calculate which vehicle should carry pollution alerts to city hall.

iotclass.org

Major section

Answer

For battery-constrained IoT devices, this resource efficiency is critical.

  • In this illustrative trace, delivery falls from 95% to 88%, a seven-percentage-point decrease; whether that trade-off is acceptable depends on the mission.

b) Bounded replication limits resource consumption while maintaining useful delivery.

iotclass.org

Major section

Answer

SocialCast transfers a copy when the neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it delivers directly to interested subscribers when encountered.

  • B's three encounters per day offer more frequent contact opportunities than A's one encounter per week; these rates alone do not establish a delivery probability.

Why it matters

b) Vehicle A forwards the message to Vehicle B because B has higher utility: In this vehicle comparison, the resource-aware teaching score ranks B above A; it is not SocialCast's published utility.

iotclass.org

Major section

Case Study: Community-Managed Mesh Links

Community Wi-Fi mesh networks are not automatically DTNs, and they are not formal SocialCast deployments.

  • Utility function: local operators know which rooftop links, relays, or users are reliable.
  • Bounded replication: popular files are cached on a small number of reliable mirrors instead of copied everywhere.
  • Design lesson: social routing should be treated as an engineering trade-off, not a magic replacement for connectivity.
  • It works best when contact patterns are predictable, resources are scarce, and forwarding decisions can be made from recent local evidence.
iotclass.org

Major section

Social Contacts Are Not Stable

Work schedules, commuting patterns, and social behavior change over weeks and months.

  • Routing decisions based on stale contact history (months old) may be less accurate than routing based on current network state.

Social routing relies on contact history as a predictor of future contacts.

iotclass.org

Major section

Social Centrality Without Full Map

Betweenness centrality requires global network graph knowledge -- knowing all nodes and their interconnections.

  • In a distributed DTN, this information is unavailable.
  • Practical social routing uses local approximations (encounter counts, two-hop neighbor counts) that underestimate true centrality.
iotclass.org

Major section

Contact Tracking Privacy Risks

Social routing requires nodes to share and track contact history.

  • This creates detailed records of who met whom and when -- personal location data.
  • Deployments must consider privacy implications and anonymization techniques.
  • Publishing contact graphs can reveal sensitive information about individuals' movements.
iotclass.org

Major section

Key Takeaway

Social routing uses repeated contact patterns, communities, or central nodes to improve DTN forwarding.

  • It only works when those patterns are real, measured, and acceptable from a privacy and governance standpoint.

Social routing uses repeated contact patterns, communities, or central nodes to improve DTN forwarding. It only works when those patterns are real, measured, and acceptable from a privacy and governance standpoint.

iotclass.org

Deck summary

Key takeaways

A copy moves only when a neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it is delivered directly to an interested subscriber when encountered.

  • In the same illustrative trace, epidemic routing delivers 95% with 800–1,200% overhead.
  • A transfer decision requires the configured margin; these encounter rates do not establish delivery probability.
  • For battery-constrained IoT devices, this resource efficiency is critical.
  • SocialCast transfers a copy when the neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ϵ\epsilonϵ; it delivers directly to interested subscribers when encountered.
iotclass.org

Retrieval practice

Recall check 1 of 4

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

Q1In SocialCast with gamma=8 copies and configured hysteresis margin ε=0.1, Node A (utility 0.4) is carrying a message for destination D and encounters Node B (utility 0.7). What does Node A do according to the SocialCast forwarding rule?

AKeep the copy at A because B's higher utility does not affect this encounter.
BCreate an extra copy at B while retaining A's copy because that duplication follows the forwarding budget.
CDrop A's copy because the configured gamma value prevents any further forwarding.
DTransfer A's copy to B because the utility gain of 0.3 exceeds ε=0.1.
Show answer

Answer: D SocialCast transfers a copy only when the neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ε, which avoids oscillation; it delivers directly to interested subscribers when encountered.

iotclass.org

Retrieval practice

Recall check 2 of 4

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

Q2Who is the destination contact whose matching interest completes SocialCast delivery?

AGamma Replicas
BPublisher
CHigher-Utility Carrier
DSubscriber
Show answer

Answer: D The subscriber is the destination contact whose matching interest completes delivery.

Q3Complete the SocialCast forwarding rule:

Aif n <= 0:
Bif n > 0:
Cif p < 0:
Dif u == p:
Show answer

Answer: A A SocialCast node transfers a copy only when the message has live copies n, time-to-live t has not expired, and peer interest-specific utility p exceeds current utility u by the configured hysteresis margin epsilon.

iotclass.org

Retrieval practice

Recall check 3 of 4

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

Q4In context-aware routing, what is the primary purpose of the utility function U(X, D)?

ATo encrypt messages for secure delivery
BTo rank which carrier is better suited to reach the intended recipients
CTo measure the physical distance between two nodes
DTo compress data for efficient transmission
Show answer

Answer: B A context-aware score uses encounter evidence and stated resource limits to compare forwarding opportunities; it is a ranking aid, not a calibrated probability.

Q5Why does SocialCast use bounded replication (gamma copies) instead of unlimited replication like epidemic routing?

ABounded replication limits resource use while retaining useful delivery
BSocialCast cannot create more than one copy
CUnlimited replication is impossible in mobile networks
DBounded replication provides higher delivery ratios
Show answer

Answer: A Bounded replication prevents every encounter from multiplying a message, while enough well-chosen copies can retain useful reach.

iotclass.org

Retrieval practice

Recall check 4 of 4

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

Q6A delivery vehicle (Vehicle B) passes city hall 3 times per day. Another vehicle (Vehicle A) passes it once per week. Using SocialCast's forwarding rule, what happens when Vehicle A carrying a message for city hall encounters Vehicle B?

AThe message is dropped because neither vehicle is at city hall
BVehicle A keeps the message since it was the original carrier
CVehicle A forwards the message to Vehicle B because B has higher utility for city hall
DBoth vehicles keep a copy of the message
Show answer

Answer: C SocialCast's rule favours a carrier with better expected access to the destination.

iotclass.org

Print reference

Answers 1 of 2

Answer key.

  1. D · SocialCast transfers a copy only when the neighbor's interest-specific utility exceeds the current carrier's by the configured hysteresis margin ε, which avoids oscillation; it delivers directly to interested subscribers when encountered.
  2. D · The subscriber is the destination contact whose matching interest completes delivery.
  3. A · A SocialCast node transfers a copy only when the message has live copies n, time-to-live t has not expired, and peer interest-specific utility p exceeds current utility u by the configured hysteresis margin epsilon.
  4. B · A context-aware score uses encounter evidence and stated resource limits to compare forwarding opportunities; it is a ranking aid, not a calibrated probability.
iotclass.org

Print reference

Answers 2 of 2

Answer key.

  1. A · Bounded replication prevents every encounter from multiplying a message, while enough well-chosen copies can retain useful reach.
  2. C · SocialCast's rule favours a carrier with better expected access to the destination.
iotclass.org