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

Cloud-native Microservices für alle: On Premises oder Cloud – mit Dapr

Cloud-native Microservices für alle: On Premises oder Cloud – mit Dapr

Microservices-all-the-things – haben wir oft genug gehört. Lassen Sie uns in diesem Talk über pragmatische Wege zum Umsetzen Service-basierter Architekturen sprechen, die modernen Cloud-native-Ansätzen genügen. Mit der beispielhaften Verwendung von Dapr als Open-Source-Laufzeitumgebung und Framework zeigt Christian Weyer, wie Sie Ihre Zeit und Ihr Hauptaugenmerk auf das Schreiben von Funktionalität und Geschäftslogik konzentrieren können, nicht auf die Infrastruktur drumherum. Und das für so gut wie jede Programmiersprache. Zu guter Letzt erfahren Sie, wie Sie Ihre (Micro-)Services in einem Spektrum von Ausführungsumgebungen laufen lassen, von selbst gehosteten lokalen Umgebungen bis hin zur Public Cloud.

Christian Weyer

November 10, 2022
Tweet

More Decks by Christian Weyer

Other Decks in Programming

Transcript

  1. Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr

    Christian Weyer https://thinktecture.com/christian-weyer @christianweyer Co-Founder & CTO @ Thinktecture AG
  2. § 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 Microservices für alle: On-Premises oder Cloud – mit Dapr Christian Weyer Co-Founder & CTO @ Thinktecture AG 2
  3. 3

  4. "Cloud is about where we're computing. Cloud-Native is about how.”

    Cornelia Davis, Author of Cloud Native Patterns: Designing change-tolerant software Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr Cloud-Native & Cloud
  5. Availability Scalability Resilience Configurability Observability Cloud-Native Microservices Cloud-Native Applications Cloud-Native

    Microservices für alle: On-Premises oder Cloud – mit Dapr Attributes & Challenges 5
  6. Infrastructure, FTW! Statelessness Interception Instrumentation Loose (runtime) coupling (many more)

    Cloud-Native Patterns 6 On-Premises oder Cloud – mit Dapr Cloud-Native Microservices für alle: Patterns & Solutions
  7. § 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 Microservices für alle: On-Premises oder Cloud – mit Dapr Dapr Value Proposition 9
  8. 11

  9. 13

  10. Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr

    14 Specifications YAML Configuration YAML CLI Dashboard
  11. 15

  12. 17

  13. Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr

    19 https://github.com/dapr/components-contrib/tree/master/pubsub
  14. 20

  15. 22

  16. § 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 Microservices für alle: On-Premises oder Cloud – mit Dapr Pub-Sub Main Features 24
  17. 25

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

    applications Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr Policies & Targets 26
  19. 27

  20. 29

  21. Cloud-Native Microservices für alle: On-Premises oder Cloud – mit Dapr

    An open-source runtime for distributed Cloud-Native applications Dapr… 35 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
  22. § 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 Photo credits 37 On-Premises oder Cloud – mit Dapr Cloud-Native Microservices für alle: