Dapr example from MSFT Docs - Build and run distributed systems with ease

ssuserfb6acb 7 views 9 slides Jun 23, 2024
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

Plug and play with different cloud technologies while being vendor agnostic


Slide Content

1A Hello World sample POST / neworder endpoint GET /order endpoint Application Dapr API State management State stores Node code Dapr Runtime

Application Python generated items 1B Hello World sample Dapr API State management Node code Dapr Runtime Dapr API Python code Dapr Runtime State stores

Pod CONTAINER Python code CONTAINER Dapr Runtime Dapr API HTTP or gRPC 2 Hello Kubernetes sample Send updates on state binding changes ( gRPC ) Injects Dapr sidecar container Pod CONTAINER Node code CONTAINER Dapr Runtime Dapr API HTTP or gRPC Python generated items State stores State management Deploys and manages Dapr Pod CONTAINER Dapr Operator Sidecar-injector Pod CONTAINER Dapr Operator

3 Calculator sample Pod CONTAINER Dapr Operator Deploys and manages Dapr Pod CONTAINER Node Divider CONTAINER Dapr Dapr API Pod CONTAINER Python Multiplier CONTAINER Dapr Dapr API Pod CONTAINER C# Subtractor CONTAINER Dapr Dapr API State management Pod CONTAINER React Frontend CONTAINER Dapr Dapr API Pod CONTAINER Go Adder CONTAINER Dapr Dapr API State stores

4A Pub Sub Dapr API Dapr Runtime Publish Subscribe React form Dapr API Dapr Runtime Dapr API Dapr Runtime Node subscriber Python subscriber

4B Pub Sub Kubernetes sample Pod CONTAINER Dapr Operator Deploys and manages Dapr Pod CONTAINER Python subscriber CONTAINER Dapr Dapr API Pod CONTAINER Node subscriber CONTAINER Dapr Dapr API Pod CONTAINER React form CONTAINER Dapr Dapr API Injects Dapr sidecar container Publishes Subscribes Pod Redis Master Pod Redis Slave0 Pod Redis Slave1

LONG-TERM STORAGE Pod CONTAINER Alerting service CONTAINER Dapr Runtime Dapr API Azure Pod CONTAINER Anomaly training service CONTAINER Dapr Runtime Dapr API Publish and subscribe Pod CONTAINER Dapr Operator AZURE CONTAINER REGISTRY Deploys and manages Dapr Publish and subscribe REDIS STREAMS

Dapr API Dapr Runtime Input binding Python microservice Dapr API Dapr Runtime Node microservice Output binding 5 Bindings sample

11A Hello World no state sample POST / neworder endpoint Application Dapr API Node code Dapr Runtime
Tags