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

Spring I/O 2023 - Spring Boot in a Cloud-Native...

Spring I/O 2023 - Spring Boot in a Cloud-Native Polyglot World

Salaboy

May 19, 2023
Tweet

More Decks by Salaboy

Other Decks in Technology

Transcript

  1. @salaboy - Spring I/O - Barcelona 2023 Spring Boot in

    a Polyglot Cloud- Native World With Dapr
  2. Agenda • Our Spring Boot Cloud-Native Applications • Common patterns

    and abstractions • The relationship betwee apps and infra • Kubernetes = Deploy + Run • Platform Building in the Cloud-Native Space • Platform Capabilities • Dapr on K8s • Dapr and TestContainers
  3. Data? Or no Data? Most of them -> 70% Nope

    -> 20% I don’t understand the question -> 10%
  4. Async Messages Some of them -> 30% Nope -> 50%

    I don’t understand the question -> 20%
  5. Chatty apps Yes using REST -> 40% Yes using GRPC

    -> 40% Other -> 30% No / I don’t understand the question -> 30%
  6. DATA Spring Boot Data JPA Redis MongoDB Oracle PostgreSQL MySQL

    MongoDB Client Redis Client Drivers / CIients JOOQ JBDC Abstractions
  7. MESSAGING Spring Boot Integration JMS RabbitMQ Kafka Client RabbitMQ Client

    CIients AMQP Kafka Rsocket Pulsar Pulsar Client AMQP Clients Abstractions/Protocols
  8. Upgrading App A 1.5.0 V3.4.X V1.2.X Redis Client V3.4.3 Kafka

    Client V1.2.3 App B 3.4.0 Redis Client V3.5.1 Kafka Client V2.2.3
  9. Polyglot? App A 1.5.0 (Java) V3.4.X V1.2.X Redis Client V3.4.3

    Kafka Client V1.2.3 App B 3.4.0 (Go) Redis Client V3.4.3 Kafka Client V1.2.3 Abstractions / Frameworks Abstractions / Frameworks
  10. Apps APIs Exchanging Messages/ Events Storing and Reading Data Observability

    Resiliency Dynamic Scaling Release Strategies Feature Flags Work f lows Traf f ic Management PLATFORM CAPABILITIES Tools Capabilities
  11. ->

  12. App A 1.5.0 (Java) App B 3.4.0 (Go) Abstractions /

    Frameworks Abstractions / Frameworks Dapr Sidecar Dapr Sidecar Local HTTP/GRPC Local HTTP/GRPC Dapr StateStore Component Dapr PubSub Component Dapr Resiliency Policies
  13. Read App Write App Subscribe App Frontend App Dapr StateStore

    Component Dapr PubSub Component Dapr Resiliency Policies Dapr Service Discovery
  14. Read App Write App Subscribe App Frontend App Dapr StateStore

    Component Dapr PubSub Component Dapr Resiliency Policies Dapr Service Discovery Do Some SQL 5% 95%
  15. Read App Write App Subscribe App Dapr StateStore Dapr PubSub

    Dapr Resiliency Policies Dapr Service Discovery Dapr PubSub Dapr Resiliency Policies Dapr StateStore 🪄