Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud-Native: Angewandte Patterns & Praktiken – mit Dapr

Cloud-Native: Angewandte Patterns & Praktiken – mit Dapr

Cloud-Native-Anwendungen bestehen meist aus mehr als einem Service. Die Herausforderung, zentrale Attribute wie Konfigurierbarkeit, Robustheit, Skalierbarkeit oder Überwachbarkeit in einer mehrere Bestandteile umfassenden verteilten Architektur umzusetzen, darf nicht unterschätzt werden. Christian Weyer zeigt in diesem Webinar pragmatische Wege, welche Architektur-Patterns wann und wie für welche Attribute Sinn machen. Damit es nicht zu trocken wird, setzt er die Patterns in einer Beispielanwendung mit C# & .NET (und ein bisschen GoLang) durch die Nutzung von Dapr (Distributed Applications Runtime) um. Dapr implementiert durch sogenannte Building Blocks und Components eine Vielzahl erprobter Patterns und Praktiken für Cloud-Native-Applikationen und stellt sie Entwicklern für alle möglichen Programmiersprachen und Plattformen zur Verfügung.

Christian Weyer

November 30, 2022
Tweet

More Decks by Christian Weyer

Other Decks in Programming

Transcript

  1. § 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
  2. Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr 3 Availability Scalability

    Resilience Configurability Observability Cloud-Native Attributes Attributes & Challenges
  3. Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Infrastructure, FTW! Statelessness

    Interception Instrumentation Loose (runtime) coupling (many more) Cloud-Native Patterns 4 Patterns & Solutions
  4. § 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
  5. 9

  6. 11

  7. 13

  8. 15

  9. 18

  10. 20

  11. § 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
  12. 23

  13. § Resiliency for service invocation & publish-subscribe § Scoping to

    applications Cloud-Native: Angewandte Patterns & Praktiken Mit Dapr Policies & Targets 24
  14. 27

  15. 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
  16. 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
  17. § 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