Dapr

{{short description|Event-driven, portable runtime for building microservices on cloud and edge}}

__NOTOC__

{{Infobox software

| name = Dapr

| title = Dapr

| logo = Dapr logo.svg

| logo size = 128px

| screenshot =

| caption =

| developer = Microsoft

| released = {{Start date and age|2019|10|16}}

| latest release version = v1.15.4

| latest release date = {{Start date and age|2025|04|04}}{{cite web|url=https://github.com/dapr/dapr/tags|title=Tags · dapr/dapr · GitHub|website=GitHub|language=en|access-date=2023-11-25}}

| latest preview version =

| latest preview date =

| repo = {{URL|https://github.com/dapr/dapr}}

| programming language = Go

| operating system = Cross-platform

| platform =

| size =

| language = English

| language count =

| language footnote =

| genre = Cloud native runtime system

| license = Initially MIT License, now Apache License 2.0

| website = {{URL|https://dapr.io/}}

}}

Dapr (Distributed Application Runtime) is a free and open source runtime system designed to support cloud native and serverless computing.{{Cite web|date=2020-10-22|title=The Dapr Distributed Runtime Nears Production Readiness|url=https://thenewstack.io/the-dapr-distributed-runtime-nears-production-readiness/|access-date=2021-02-20|website=The New Stack|language=en-US}} Its initial release supported SDKs and APIs for Java, .NET, Python, and Go, and targeted the Kubernetes cloud deployment system.{{Cite web|date=2021-02-17|title=Distributed Application Runtime (Dapr) v1.0 Announced|url=https://www.infoq.com/news/2021/02/dapr-production-ready/|url-status=live|access-date=2021-02-20|website=InfoQ|language=en|archive-url=https://web.archive.org/web/20210217170153/https://www.infoq.com/news/2021/02/dapr-production-ready/ |archive-date=2021-02-17 }}{{Cite web|date=2021-02-17|title=Microsoft's Dapr open-source project to help developers build cloud-native apps hits 1.0|url=https://techcrunch.com/2021/02/17/microsofts-dapr-open-source-project-hits-1-0/|access-date=2021-02-20|website=TechCrunch|language=en-US}}

The source code is written in the Go programming language. It is licensed under Apache License 2.0 and hosted on GitHub.{{Cite web|url=https://github.com/dapr|title=GitHub - dapr/dapr: Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.|via=GitHub}}

Dapr is a CNCF project and graduated in November 2024.{{Cite web|url=https://www.cncf.io/announcements/2024/11/12/cloud-native-computing-foundation-announces-dapr-graduation/|title=Cloud Native Computing Foundation Announces Dapr Graduation.|via=CNCF.io}}

class="wikitable" style="text-align: center; color:black; background-color:lightgray" cellpadding="10"

|+Architectural approach of Dapr:[https://cloudblogs.microsoft.com/opensource/2019/10/16/announcing-dapr-open-source-project-build-microservice-applications/ Announcing Distributed Application Runtime (Dapr), an open source project to make it easier for every developer to build microservice applications - Open Source Blog]

colspan="7"|Microservice application
Services written in Go, Python, .NET, …
style="background-color:white"

|colspan="7"| ↕    ↕    ↕

style="background-color:lightblue"

|colspan="7"|HTTP API / gRPC API

style="background-color:lightblue"

| Service-to-
service invocation

State
management
Publish and
subscribe
Resource
bindings &
trigger
ActorsDistributed
tracing
Extensible…
style="background-color:lightblue"

|colspan="7"|Dapr

style="background-color:white"

|colspan="7"|

colspan="7"|Any cloud or edge infrastructure

See also

References

{{Reflist}}

Further reading

  • {{cite book|author-first=Davide|author-last=Bedin|year=2020|title=Practical Microservices with Dapr and .NET: A developer's guide to building cloud-native applications using the Dapr event-driven runtime|publisher=Packt Publishing|isbn=978-1800568372}}
  • {{cite book|author1-first=Haishi|author1-last=Schneider Bai|author2-first=Yaron|author2-last=Schneider|year=2020|title=Learning Dapr: Building Distributed Cloud Native Applications|publisher=O'Reilly UK Ltd.|isbn=978-1492072423}}
  • {{cite book|author1-first=Radoslav|author1-last=Gatev|year=2021|title=Introducing Distributed Application Runtime (Dapr): Simplifying Microservices Applications Development Through Proven and Reusable Patterns and Practices|publisher=Apress|isbn=978-1484269978}}