6. Any code or
framework…
Functions
S er vices writ ten in
.NET Core
Microservice application
Service-to-service
invocation
State
management
Publish and
subscribe
Resource
bindings
& triggers
Actors
Distributed
tracing
Extensible…
HTTP/gRPC APIs
Any cloud or edge infrastructure
10. Pod C O N T A I N E R
Service code
C O N T A I N E R
Sidecar
Publish and
subscribe
Components
Component
management
State stores
Input/output bindings
Deploys and
manages Dapr
Any cloud or edge infrastructure
Dapr API
HTTPorgRPC
Use components
Update
component
changes to
runtime
Injects Dapr
runtime
Updates actor
partition
placement
Pod
C O N T A I N E R
Sidecar Injector
Pod
C O N T A I N E R
Operator
Pod
C O N T A I N E R
Placement
11. Pod C O N T A I N E R
Service code
C O N T A I N E R
Sidecar
Publish and
subscribe
Components
Component
management
State stores
Input/output bindings
Deploys and
manages Dapr
Any cloud or edge infrastructure
Dapr API
HTTPorgRPC
Use components
Update
component
changes to
runtime
Injects Dapr
runtime
Updates actor
partition
placement
Pod
C O N T A I N E R
Sidecar Injector
Pod
C O N T A I N E R
Operator
Pod
C O N T A I N E R
Placement
12. Pod C O N T A I N E R
Service code
C O N T A I N E R
Sidecar
Publish and
subscribe
Components
Component
management
State stores
Input/output bindings
Deploys and
manages Dapr
Any cloud or edge infrastructure
Dapr API
HTTPorgRPC
Use components
Update
component
changes to
runtime
Injects Dapr
runtime
Updates actor
partition
placement
Pod
C O N T A I N E R
Sidecar Injector
Pod
C O N T A I N E R
Operator
Pod
C O N T A I N E R
Placement
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
spec:
type: state.redis
metadata:
- name: redisHost
value: redis-master:6379
- name: redisPassword
value: 2wmOfki2hS
13. Pod C O N T A I N E R
Service code
C O N T A I N E R
Sidecar
Publish and
subscribe
Components
Component
management
State stores
Input/output bindings
Deploys and
manages Dapr
Any cloud or edge infrastructure
Dapr API
HTTPorgRPC
Use components
Update
component
changes to
runtime
Injects Dapr
runtime
Updates actor
partition
placement
Pod
C O N T A I N E R
Sidecar Injector
Pod
C O N T A I N E R
Operator
Pod
C O N T A I N E R
Placement
apiVersion: apps/v1
kind: Deployment
metadata:
name: nodeapp
labels:
app: node
spec:
replicas: 1
selector:
matchLabels:
app: node
template:
metadata:
labels:
app: node
annotations:
dapr.io/enabled: "true"
dapr.io/id: "nodeapp"
dapr.io/port: "3000"
14. Any code or
framework…
Functions
S er vices writ ten in
.NET Core
Microservice application
Service-to-service
invocation
State
management
Publish and
subscribe
Resource
bindings
& triggers
Actors
Distributed
tracing
Extensible…
HTTP/gRPC APIs
Any cloud or edge infrastructure
27. Pod X
Actor A
Actor B
Pod Y
Actor C
Actor D
App
POST
http://localhost:3500/v1.0/actors/MyActors/A/method/updateName
Invoke
Actor
POST
http://10.0.0.6:6004/update
{
"name":"A"
}
{
"name":"A"
}
Placement
Service
Get Actor
Location
28. Node X
Actor A
Actor B
Node Y
Actor C
Actor D
App
POST
http://localhost:3500/v1.0/actors/MyActors/A/method/updateName
Invoke
Actor
{
"name":"A"
}
Placement
Service
Get Actor
Location
POST
http://10.0.0.7:6005/update
{
"name":"A"
}
Actor C
Allocate
32. Any code or
framework…
Functions
S er vices writ ten in
.NET Core
Microservice application
Service-to-service
invocation
State
management
Publish and
subscribe
Resource
bindings
& triggers
Actors
Distributed
tracing
Extensible…
HTTP/gRPC APIs
Any cloud or edge infrastructure