DOP 322: How to Build Apps That Never Go Down Even When Servers Die

Episode 322

Show Notes

#322: Peer-to-peer technology represents a fundamental shift in how we think about data sovereignty and application architecture. Rather than relying on centralized servers and trusting specific endpoints, peer-to-peer systems allow users to verify data authenticity regardless of its source. This approach eliminates the traditional point-to-point communication model where data flows from a specific server to your device, instead creating networks where any peer can help distribute content while maintaining cryptographic verification.

The technology offers compelling advantages for developers and users alike. Applications built on peer-to-peer foundations can operate without ongoing infrastructure costs, scale naturally as more users join the network, and continue functioning even if the original company disappears. Development becomes simpler in many ways since everything runs locally by default, eliminating complex database configurations and external dependencies. However, challenges remain around debugging distributed systems, ensuring data persistence in small networks, and adapting traditional development workflows to this new paradigm.

In this episode, Darin and Viktor explore these concepts with Mathias Buus Madsen, co-founder of Holepunch and creator of the Pear Runtime. Mathias shares insights from building real peer-to-peer applications, including their chat app Keet, and explains how developers can start experimenting with this technology today.

Share and Download

Guests

Mathias Buus Madsen

Mathias Buus Madsen

As CEO of Holepunch, Mathias brings his passion and extensive expertise in open-source development to the fore, having published more than 1000 modules to npm, the Node.js package manager, totalling billions of downloads every month.

Mathias Buus is a self taught JavaScript hacker from Copenhagen. He works full time on open source projects and has been working with Node.js since the 0.2 days. Mathias likes to work with P2P and distributed systems and is the author of more than 550 modules on npm, including some of the most popular ones for working with streams. In addition he has spoken about “mad science” projects at various conferences around the world.

Hosts

Viktor Farcic

Viktor Farcic

Viktor Farcic is a member of the Google Developer Experts and Docker Captains groups, and published author.

His big passions are DevOps, Containers, Kubernetes, Microservices, Continuous Integration, Delivery and Deployment (CI/CD) and Test-Driven Development (TDD).

He often speaks at community gatherings and conferences.

He has published DevOps Paradox and Test-Driven Java Development.

His random thoughts and tutorials can be found in his blog The DevOps Toolkit.