Member-only story

An Overview of Dapr (Distributed Application Runtime) in Kubernetes

Luca Berton
6 min readOct 30, 2024

Dapr (Distributed Application Runtime) is an open-source, portable, and event-driven runtime that simplifies building resilient, microservice-based applications. It abstracts common microservice patterns, such as state management, service invocation, pub/sub messaging, and binding to external resources, into a set of building blocks, making it easier for developers to focus on application logic instead of managing infrastructure complexities. Designed to run on Kubernetes, Dapr is gaining popularity due to its versatility and capability to work across different languages and frameworks.

Core Features of Dapr

  1. Service Invocation: Allows microservices to communicate with each other using various protocols like HTTP or gRPC with built-in retry and circuit breaker logic.
  2. State Management: Simplifies storing and retrieving state in stateless services, abstracting different storage backends such as Redis, Azure Cosmos DB, or SQL databases.
  3. Pub/Sub Messaging: Facilitates event-driven architectures with support for message brokers such as Kafka, Azure Service Bus, and Google Cloud Pub/Sub.
  4. Bindings: Provides input/output bindings to connect with external systems like databases, messaging systems, or cloud services.

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet