Technology · Ebook
Dapr: Building Blocks for Distributed Applications
by Shriira Press
Dapr (Distributed Application Runtime) gives any application a set of building blocks for distributed systems — service invocation, state, pub/sub, bindings, secrets, actors, and workflows — through simple HTTP or gRPC APIs served by a sidecar. This free book teaches it from the ground up: the sidecar architecture and how Dapr runs self-hosted and on Kubernetes, the building-block and component model that lets you swap infrastructure without changing code, then each major building block in depth, plus actors and durable workflows, observability with tracing and metrics, security with automatic mTLS and access control, and operating Dapr in production. Ten focused chapters with real API examples and clear diagrams that show how to build portable, polyglot, decoupled microservices without re-inventing the plumbing.
Contents
- 1Preface
- 2Chapter 1 — What Dapr Is
- 3Chapter 2 — Architecture and the Sidecar Model
- 4Chapter 3 — Building Blocks and Components
- 5Chapter 4 — Service Invocation
- 6Chapter 5 — State Management
- 7Chapter 6 — Publish/Subscribe and Messaging
- 8Chapter 7 — Bindings and Secrets
- 9Chapter 8 — Actors and Workflows
- 10Chapter 9 — Observability and Security
- 11Chapter 10 — Operating Dapr and Putting It Together
