Dapr 101:
start building
distributed apps
with ease
Slide 2
Slide 2 text
2
Azure MVP
Dapr Community
Manager
❤ pixel art
Marc Duiker
Sr Dev Advocate
[email protected]
Slide 3
Slide 3 text
3
Slide 4
Slide 4 text
4
Demos!
What is
Dapr?
When to
use Dapr?
4
Why use
Dapr?
Q&A +
swag
Slide 5
Slide 5 text
5
Slide 6
Slide 6 text
What is Dapr?
6
Slide 7
Slide 7 text
7
E-commerce system
State
Management
Email Payment
Front-end
Shipping
Checkout
Inventory
Cart
Internet
Queue
I just want to
trace my calls
end-to-end.
How do I encrypt
calls with ongoing
cert rotation?
How do applications
discover and call
each other?
How do I handle
failed calls and
perform retries?
How do I secure
access to my
data layer?
How do I handle
state conflicts
from multiple
apps?
How do I
measure latency
on my database?
How do I
orchestrate
business logic
transactions?
How do I send
messages to many
applications?
Developer
challenges
Slide 8
Slide 8 text
8
Distributed
application
runtime
Slide 9
Slide 9 text
Dapr is a portable, event-
driven, runtime for building
distributed applications across
cloud and edge.
9
Slide 10
Slide 10 text
10
virtual or
physical machines
Slide 11
Slide 11 text
11
Why use Dapr?
Slide 12
Slide 12 text
Speeds up microservice
development by providing
a common set of building
block APIs.
12
Slide 13
Slide 13 text
13
Service
invocation
State
Management
Publish &
subscribe
Bindings
(input & output)
Actors Secret
Stores
Configuration
Observability
Workflows
Distributed Lock
Building block APIs
Slide 14
Slide 14 text
14
HTTP/gRPC
Dapr API
Dapr sidecar
Application
App
Slide 15
Slide 15 text
15
POST http:// localhost:3500/v1.0/invoke/cart/method/order
GET http:// localhost:3500/v1.0/state/inventory/item67
POST http:// localhost:3500/v1.0/publish/order
GET http:// localhost:3500/v1.0/secrets/vault/password42
POST http:// localhost:3500/v1.0-alpha1/workflows/dapr/businessprocess/1234/start
HTTP/gRPC
Dapr API
App
Slide 16
Slide 16 text
16
C#
Python
Java
Script
Java
Go
Client
SDKs
Slide 17
Slide 17 text
17
10th largest
CNCF project
Submitted
to CNCF
Nov 2021
Incubation
maturity
level
www .cncf.io/projects/dapr/
Dapr project