Menu
InfoQ Architecture·September 25, 2026

Spritely: Building Decentralized, Secure, Peer-to-Peer Internet Infrastructure

This presentation introduces Spritely's architectural vision for a decentralized internet, addressing challenges of centralization, security, and user agency. It highlights key technical approaches including capability-based security with Goblins, actor-model communication via OCapN, and the use of local-first CRDTs. The article also discusses the complexities of building distributed systems and the need for easier development tools for peer-to-peer applications.

Read original on InfoQ Architecture

The Case for Decentralization

The presentation begins by critically examining the inherent problems of centralized technology, citing issues like service enshittification, sudden service discontinuation (e.g., Google Reader), ease of backdoor insertion, and the creation of 'legislative moats' that favor large players. It argues that current technological ecosystems, such as Ruby on Rails, often encode values that assume centralized deployment and large DevOps teams, making them unsuitable for individual self-hosting and true decentralization. Spritely aims to counter these trends by building resilient, user-centric, and decentralized applications.

Challenges of Decentralized System Design

Decentralization offers resilience and user agency but introduces significant technical complexities. Key challenges include:

  • Concurrency: Managing deadlocks, shared mutable state, and message ordering in distributed environments.
  • Synchronization: Implementing consensus algorithms (e.g., Paxos) or managing eventual consistency with techniques like CRDTs.
  • Fault Tolerance: Designing systems to gracefully handle component failures.
  • Infrastructure & Tooling: Lack of 'turnkey' solutions comparable to frameworks like Rails for peer-to-peer applications, forcing developers to tackle network security, cryptography, and programming language theory from first principles.
ℹ️

Centralization vs. Decentralization Paradox

The core problem identified is that while enterprises use distributed systems internally for centralized services, the benefits of decentralization (resilience, user agency) are rarely passed on to the end-user. Spritely seeks to build infrastructure where decentralized security is the default.

Spritely's Architectural Pillars

Spritely's architecture tackles the fundamental questions of decentralized systems: resource protection, inter-process communication, and naming. It leverages several core technologies and patterns:

  • Capability-Based Access Control with Goblins: Goblins is a distributed programming environment that uses capabilities for fine-grained access control, ensuring secure interactions without central authorities.
  • Actor-Model Communication via OCapN: OCapN provides a protocol for secure, actor-model style communication between distributed components, facilitating robust message passing.
  • Local-First CRDTs: Conflict-free Replicated Data Types enable collaborative applications where data can be edited offline and synchronized later, resolving conflicts deterministically without a central server.
  • Scheme & WebAssembly (Hoot): Utilizing Scheme as the primary language, compiled to WebAssembly via Hoot, allows for portable and secure execution environments across different platforms.

By integrating these components, Spritely aims to provide a comprehensive infrastructure that makes building secure, peer-to-peer applications as straightforward as traditional centralized ones, effectively creating the 'Rails of P2P'.

decentralizationpeer-to-peercapability-securityactor-modelCRDTsWebAssemblydistributed programminginternet architecture

Comments

Loading comments...