Menu

When There Is No Internet: Delay-Tolerant Networking and Epidemic Routing Explained
📰

When There Is No Internet: Delay-Tolerant Networking and Epidemic Routing Explained

DEV Community: mobile·Royal Simpson Pinto·4 days ago
#YpGssbQ0
#devtomobile#devto#dev#message#phone
Reading 0:00
15s threshold

Most of the networking we write code against quietly assumes one thing: that a path exists. When your app calls an API, it trusts that there is an unbroken chain of links from your phone to the server, right now, all at once. Routers along the way forward your packet the instant it arrives, and if any hop is missing, the whole thing fails.

But think about a music festival with 40,000 people, a subway car deep underground, a disaster zone where towers are down, or a rural valley with no coverage. There is no continuous path. The classic model just gives up. Delay-tolerant networking (DTN) starts from the opposite assumption: the network is usually broken, and connectivity shows up in brief, unpredictable moments. The job is to move a message anyway.

I ran into this head-on while building Kabootar, an offline mesh messenger that carries messages phone to phone over Bluetooth and Wi-Fi with no servers and no cell towers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.