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

Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr

Cloud-Native Microservices: On-Premises oder in der 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

February 21, 2023
Tweet

More Decks by Christian Weyer

Other Decks in Programming

Transcript

  1. Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr

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

  4. Infrastructure, FTW! Statelessness Interception Instrumentation Loose (runtime) coupling (many more)

    Cloud-Native Patterns 5 On-Premises oder in der Cloud – mit Dapr Cloud-Native Microservices: Patterns & Solutions
  5. § 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: On-Premises oder in der Cloud – mit Dapr Dapr Value Proposition 8
  6. 10

  7. 12

  8. Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr

    13 Specifications YAML Configuration YAML CLI Dashboard
  9. 14

  10. 16

  11. Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr

    18 https://github.com/dapr/components-contrib/tree/master/pubsub
  12. 19

  13. 21

  14. § 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: On-Premises oder in der Cloud – mit Dapr Pub-Sub Main Features 23
  15. 24

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

    applications Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr Policies & Targets 25
  17. 28

  18. 30

  19. Cloud-Native Microservices: On-Premises oder in der Cloud – mit Dapr

    An open-source runtime for distributed Cloud-Native applications Dapr… 36 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
  20. § 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 38 On-Premises oder in der Cloud – mit Dapr Cloud-Native Microservices: