Member-only story

How to Run Dapr on the Edge Without Internet

Johan Louwers
4 min readMar 23, 2025

--

Johan Louwers — Lego research station
Lego research station

In a remote research station deep in the Arctic, a network of autonomous sensors and computing nodes must operate without direct access to the cloud. These devices continuously collect environmental data, detect anomalies, and synchronize with central systems only when a satellite link becomes available. Ensuring reliable communication, state management, and real-time decision-making in such an environment requires a new approach to distributed computing.

Dapr (Distributed Application Runtime) presents an innovative way to solve these challenges by abstracting the complexities of distributed systems. But can Dapr function in an isolated network-deprived edge scenario? The answer is yes — if you architect it correctly.

Rethinking Edge Architecture for the Disconnected World

Traditional cloud-native architectures assume a stable network and seamless access to managed services. The edge, particularly in isolated environments, challenges these assumptions. Microservices need to communicate, store state, and execute business logic without centralized orchestration. This requires a fundamental shift toward an architecture that prioritizes autonomy, resilience, and local-first processing.

Dapr’s sidecar model inherently supports these principles. Unlike service meshes that rely on control planes hosted in the cloud, Dapr operates as a local runtime that can facilitate inter-service communication, manage state persistently on the edge, and handle pub/sub messaging — all without external dependencies.

The key design principles for using Dapr in these scenarios involve deploying standalone instances without cloud backing, leveraging local state stores, and ensuring deterministic service discovery mechanisms. Instead of treating the cloud as the primary system of record, services must be able to function offline and synchronize data asynchronously when connectivity is restored.

The Science Behind Distributed Systems at the Edge

A fundamental challenge in disconnected environments is achieving consistency and availability without violating CAP theorem constraints. When network partitions are the norm rather than the exception, systems must…

--

--

Johan Louwers
Johan Louwers

Written by Johan Louwers

Johan Louwers is a technology enthousiasts with a long background in supporting enterprises and startups alike as CTO, Chief Enterprise Architect and developer.

No responses yet

Write a response