Slide 1

Slide 1 text

Cloud-Native Webinar-Reihe Angewandte Patterns & Praktiken – mit Dapr (Distributed Application Runtime) Christian Weyer

Slide 2

Slide 2 text

§ Cloud-native & serverless architectures § Pragmatic end-to-end solutions § Mobile & web-based application architectures § Microsoft Regional Director § Microsoft MVP for Developer Technologies & Azure ASPInsider, AzureInsider § Google GDE for Web Technologies [email protected] @christianweyer https://www.thinktecture.com Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Christian Weyer Co-Founder & CTO @ Thinktecture AG 2

Slide 3

Slide 3 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 3 Availability Scalability Resilience Configurability Observability Cloud-Native Attributes Attributes & Challenges

Slide 4

Slide 4 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Infrastructure, FTW! Statelessness Interception Instrumentation Loose (runtime) coupling (many more) Cloud-Native Patterns 4 Patterns & Solutions

Slide 5

Slide 5 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 5 Sample Application

Slide 6

Slide 6 text

Distributed Application Runtime 6 https://dapr.io/

Slide 7

Slide 7 text

§ Prevents developers reinventing the wheel, esp. complex wheels § Making developers lives easier with consistent approach § Productivity tool, when having different § Generations of software types (greenfield and brownfield) § Languages & frameworks § Team formations ➡ Dapr as a common “lingua franca” § (Transparent distributed tracing end-to-end) Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Dapr Value Proposition 7

Slide 8

Slide 8 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 8

Slide 9

Slide 9 text

9

Slide 10

Slide 10 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 10

Slide 11

Slide 11 text

11

Slide 12

Slide 12 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 12 Specifications YAML Configuration YAML CLI Dashboard

Slide 13

Slide 13 text

13

Slide 14

Slide 14 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr daprd 14

Slide 15

Slide 15 text

15

Slide 16

Slide 16 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 16 Abstracting access to “things”

Slide 17

Slide 17 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 17 https://github.com/dapr/components-contrib

Slide 18

Slide 18 text

18

Slide 19

Slide 19 text

Cloud-Native: Angewandte Patterns & Praktiken Interception Mit Dapr 19

Slide 20

Slide 20 text

20

Slide 21

Slide 21 text

Cloud-Native: Angewandte Patterns & Praktiken Decoupling Mit Dapr 21

Slide 22

Slide 22 text

§ CloudEvents 1.0 standard § Topic scoping § Which topics an application is allowed to publish to § Which topics an application is allowed to subscribe to § Message subscription § Applications can subscribe to published topics § Subscribe to topics by either declarative or programmatic method § Dapr POSTs to HTTP endpoint § Message delivery § Successfully delivered when subscriber responds with non- error response § Guarantees “at-least-once” semantics § Message time-to-live (TTL) § Message in queue for longer than the configured TTL is said to be dead Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Pub-Sub Main Features 22

Slide 23

Slide 23 text

23

Slide 24

Slide 24 text

§ Resiliency for service invocation & publish-subscribe § Scoping to applications Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Policies & Targets 24

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Input / Output Bindings & Input Triggers 26

Slide 27

Slide 27 text

27

Slide 28

Slide 28 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Standardized instrumentation 28

Slide 29

Slide 29 text

On-prem & Cloud 29

Slide 30

Slide 30 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 30 Sample Application

Slide 31

Slide 31 text

Recap Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 31

Slide 32

Slide 32 text

Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr An open-source runtime for distributed Cloud-Native applications Dapr… 32 Encapsulates proven patterns & their implementations as building blocks Enforces practices & policies through configuration May be overkill if you only have one language or few services Can be be used together with a service mesh Allows to pick & chose to gradually Dapr-ize applications Can be run anywhere: locally, on-prem & in the Cloud

Slide 33

Slide 33 text

thinktecture.com/ cloud-30-11-2022 thinktecture.com/ cloud-25-01-2023 Cloud-Native Webinar-Reihe – Termine thinktecture.com/ cloud-16-11-2022 thinktecture.com/ cloud-14-12-2022 thinktecture.com/ cloud-11-01-2023 Alle Webinare unserer Cloud-Native-Reihe finden Sie hier: thinktecture.com/cloud-native-webinare/ 03. November 2022 – 25. Januar 2023 Mit Dapr Cloud-Native: Angewandte Patterns & Praktiken 33

Slide 34

Slide 34 text

https://www.thinktecture.com/ueber-uns/karriere/ Dankeschön! Christian Weyer https://thinktecture.com/christian-weyer Demos: https://github.com/thinktecture/ dapr-basics-demos https://github.com/thinktecture-labs/ cloud-native-sample 34

Slide 35

Slide 35 text

§ https://unsplash.com/photos/84PTCoyzRBA § https://unsplash.com/photos/keB3OjGmkHY § https://unsplash.com/photos/SQ2tFzFGDac § https://unsplash.com/photos/_WcjaNV6cFY § https://unsplash.com/photos/s8OO2-t-HmQ § https://unsplash.com/photos/d_8hWxfEPlY § https://unsplash.com/photos/TVe0IEdsVc8 § https://unsplash.com/photos/Eeee5H-yuoc § https://unsplash.com/photos/jPpHpgWNCKs § https://unsplash.com/photos/Hae69R2xnAc § https://unsplash.com/photos/IKzufa-cjfo § https://unsplash.com/photos/m6XG1g3kU2A § https://unsplash.com/photos/5B0IXL2wAQ0 Photo credits 35 Mit Dapr Cloud-Native: Angewandte Patterns & Praktiken