Slide 1

Slide 1 text

RAMON DURÃES CEO, DEVPRIME / MICROSOFT MVP [email protected] Microservices e o desenvolvimento cloud-native 10 anos depois #VSSUMMIT

Slide 2

Slide 2 text


Slide 3

Slide 3 text

DEVELOPER VELOCITY INDEX (DVI) Source: Mckinsey &Company / Developer Velocity: How software excellence fuels business performance, 2020 20% higher operating margin. 4-5x faster revenue growth. 60% higher total return to shareholders. 55% more innovation in top Developer companies According to Mckinsey report, Organizations with strong tools are 65 percent more innovative and surpass their peers on other key business performance indicators such as customer satisfaction, brand perception, and talent.

Slide 4

Slide 4 text

ENTERPRISE APPS WILL SHIFT TOWARD HYPERAGILE According to IDC, Enterprise Apps Will Shift Toward Hyperagile Architectures, with 80% of Application Development on Cloud Platforms (PaaS). Using Microservices and Cloud Functions (e.g., AWS Lambda and AzureFunctions) and Over 95% of New Microservices Deployed in Containers (e.g.,Docker). Source: IDC FutureScape: Worldwide IT Industry 2018 Predictions

Slide 5

Slide 5 text

INNOVATE FAST OR FAIL EVEN FASTER Kong field a survey of 400 senior technology decision makers in the U.S. and Europe, including CIOs, CTOs, VPs of IT, IT directors/architects and software engineers/developers from organizations across a range of industries. Source: Kong / Digital Innovation Benchmark, 2021 51% of technology leaders expect a business to go under or be acquired by 2024 65% of technology leaders across industries believe competitors could displace 89% of tech leaders believe that creating new digital experiences 75% expect to see an increase in IT/developer budgets over the next 12 months

Slide 6

Slide 6 text

ENABLING INNOVATION WITH MICROSERVICES Source: Kong / Digital Innovation Benchmark, 2021 87% of tech leaders believe microservices-based applications are the future. 33% of organizations have already transitioned entirely to distributed architectures. The main reasons to adoption of microservices: Increase security (63%) Integrate new tech faster (59%) Increase speed of development (57%) Increase infrastructure flexibility (52%)

Slide 7

Slide 7 text

SOFTWARE DELIVERY PARADOX Innovation Reliability Speed vs. control impedes innovation MTTR: Mean Time to Repair | MTBF: Mean Time Between Failures | MTTF: Mean Time To Failure

Slide 8

Slide 8 text


Slide 9

Slide 9 text

MICROSERVICES ARCHITECTURE • Agilidade e inovação contínua • Desacoplamento • Estruturado por contexto de negócio • Independência na manutenção • Escalabilidade • Disponibilidade Source: Microservices vs Monolithic architecture

Slide 10

Slide 10 text

EMPOWER DIGITAL STRATEGY Unleash innovation with Cloud-Native Event-Driven Microservices API’s Source: DevPrime

Slide 11

Slide 11 text

HEXAGONAL ARCHITECTURE Estrutura • Application • Domain • Ports • Adapters Hexagonal != Layers Source: Alistair Cockburn

Slide 12

Slide 12 text

SIZE FOR A MICROSERVICE & DOMAIN “DDD” Source: Microservices vs Monolithic architecture • Context Map • Bounded context • Aggregate roots • Value Objects • Entities • Domain services • Application services • Domain Events

Slide 13

Slide 13 text

MICRO FRONTENDS #VSSUMMIT ▪ Autonomia das equipes ▪ Atualizações incrementais e independentes ▪ Simplificação ▪ API Gateway/GraphQL Source: Micro Frontends /

Slide 14

Slide 14 text

BACKEND FOR FRONTEND (BFF) #VSSUMMIT ▪ UX for API ▪ Mobile API ▪ Web API ▪ Internal API Source: Building a BFF / Phil Calçado

Slide 15

Slide 15 text

DATABASE & POLYGLOT PERSISTENCE Source: Martin Fowler Microservices

Slide 16

Slide 16 text

COMMUNICATIONS Source: Microservices Communications (Kafka, RabbitMQ)

Slide 17

Slide 17 text

EVENT-DRIVENARCHITECTURE(EDA) • Independência entre os serviços • Arquitetura assíncrona (non-blocking) • Aumento da disponibilidade e escalabilidade (SLA) • Modelagem orientada a eventos • Serviços novos se beneficiam do Event Store • Análises em Real-time data analytics

Slide 18

Slide 18 text

DISTRIBUITEDTRANSACTION"SAGA PATTERN" Abordagem ❖Choreography ❖Orchestration Estratégias ❖Retries / Timeouts ❖Compensation

Slide 19

Slide 19 text

POLYREPOVS MONOREPO • Independência • Desacoplamento • Agilidade • Segurança

Slide 20

Slide 20 text


Slide 21

Slide 21 text

CLOUD-NATIVEAPPLICATIONDEVELOPMENT • Kubernetes como “PaaS” • Balanceamento de carga • Gerenciamento de falhas • Distribuição de processamento • Monitoramento (Microsoft AKS, AWS EKS, Oracle EKE, Google GKE)

Slide 22

Slide 22 text

SERVICE MESH& API GATEWAY Source: Service Mesh • Service Discovery • Traffic management • Resilience • Canary release • A/B Testing • Monitoring • Logs • Security

Slide 23

Slide 23 text

MICROSERVICES SECURITY • Web Application Firewall (WAF) • API Gateway (Authentication, Authorization, rate limiting, cache) • Service Mesh (Traffic control) • Identity Providers (Auth2, SAML 2.0, OpenID Connect) (Microsoft Azure, Amazon AWS, Oracle Cloud, Google Cloud) (Keycloak, Auth0, Azure AD, AWS Cognito, Oracle Identity Cloud Service, Google Identity Platform)

Slide 24

Slide 24 text

CLOUD NATIVE SECURITY & DEVSECOPS Source: Kubernetes - • Cloud • Cluster • Container • Code

Slide 25

Slide 25 text

DEVPRIME STACK🚀 Evolutionary architecture designs Production-Ready Microservices to Enable Innovation Built-in Apps Components & Accelerators Business Centered Development Stack Foundation 1 2 Domain Driven Design

Slide 26

Slide 26 text

DEVPRIMECLI🚀 Ignite Production-Ready Microservices

Slide 27

Slide 27 text

ORDERMICROSERVICES In deep exploration (Observability “Automatic Log” + “Fast Debug”) (OpenAPI)

Slide 28

Slide 28 text

RELIABLESERVICES Distributed Systems (circuit breaker) (Auto retry) (HTTP Request) (Observability “Automatic Log” + “Fast Debug”) Microservices Domain Handler State Fail Fast Event-Driven Resilience

Slide 29

Slide 29 text

KUBERNETES-BASEDEVENT-DRIVENAUTOSCALING(KEDA) #VSSUMMIT ▪ Escalabilidade baseada em eventos ▪ Escalando do zero a milhares de containers ▪ Integrado ao Virtual Kubelet ▪ Event sources (Kafka, RabbitMQ, Azure Service Bus, AWS SQS..) ▪ HTTP / Azure Functions Source:

Slide 30

Slide 30 text

SOFTWARE-FIRST “Desenvolva soluções para impactar 1 bilhão de pessoas”

Slide 31

Slide 31 text

#VSSUMMIT MUITO OBRIGADO! RAMON DURÃES CEO, DEVPRIME / MICROSOFT MVP [email protected] “Crie um novo microsserviço em minutos”