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

Microservices e o desenvolvimento cloud-native 10 anos depois

Microservices e o desenvolvimento cloud-native 10 anos depois

Nós estamos no ano de 2021 e uma nova consciência se formou no mercado sobre a importância da transformação digital nas empresas consolidando uma verdadeira corrida na contratação de profissionais de tecnologia e desenvolvimento de software.

Durante esse keynote o Ramon Durães que é CEO da DevPrime e Microsoft MVP palestrou sobre a evolução dos microservices e a evolução do mercado de tecnologia.

Para suportar a modernização de aplicações muitas estratégias de desenvolvimento evoluíram ao longo do anos de delas é um padrão de desenvolvimento de microsserviços que apoia diretamente o movimento de transformação digital proporcionando um maior alinhamento do negócio com a necessidade de evolução continua.

Ao falarmos sobre o desenvolvimento de microservices ou cloud-native application development os principais benefícios que vem mente estão relacionados a: Agilidade e inovação contínua, Desacoplamento, Estruturado por contexto de negócio, Independência na manutenção, Escalabilidade e
Disponibilidade.

Essa palestra foi apresentada na conferência VSSUMMIT 2021 e você pode acompanhar mais detalhes abaixo:
https://vssummit.com.br

Ramon Durães

October 24, 2021
Tweet

More Decks by Ramon Durães

Other Decks in Technology

Transcript

  1. RAMON DURÃES CEO, DEVPRIME / MICROSOFT MVP RAMONDURAES@DEVPRIME.TECH Microservices e

    o desenvolvimento cloud-native 10 anos depois #VSSUMMIT
  2. TOTAL EXPERIENCE (TX) “AS INOVAÇÕES DE PRODUTOS PRECISAM ALCANÇAR OS

    CLIENTES RAPIDAMENTE E PERMANECER DISPONÍVEIS” Accelerate delivery Optimize reliability OMNICHANNEL / OMNIPRESENCE (ONLINE+OFFLINE) Source: Top Strategic Technology Trends for 2021 - Gartner
  3. 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.
  4. 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
  5. 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 https://bit.ly/2YYTz8p 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
  6. ENABLING INNOVATION WITH MICROSERVICES Source: Kong / Digital Innovation Benchmark,

    2021 https://bit.ly/2YYTz8p 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%)
  7. 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
  8. UMA NOVA TI ÁGIL, DIGITAL E ACESSÍVEL Image: Redhat

  9. 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 https://bit.ly/3FhAa3p
  10. EMPOWER DIGITAL STRATEGY Unleash innovation with Cloud-Native Event-Driven Microservices API’s

    Source: DevPrime
  11. HEXAGONAL ARCHITECTURE Estrutura • Application • Domain • Ports •

    Adapters Hexagonal != Layers Source: Alistair Cockburn
  12. SIZE FOR A MICROSERVICE & DOMAIN “DDD” Source: Microservices vs

    Monolithic architecture https://bit.ly/3FhAa3p • Context Map • Bounded context • Aggregate roots • Value Objects • Entities • Domain services • Application services • Domain Events
  13. MICRO FRONTENDS #VSSUMMIT ▪ Autonomia das equipes ▪ Atualizações incrementais

    e independentes ▪ Simplificação ▪ API Gateway/GraphQL Source: Micro Frontends https://bit.ly/3p7Vgvz / https://micro-frontends.org
  14. BACKEND FOR FRONTEND (BFF) #VSSUMMIT ▪ UX for API ▪

    Mobile API ▪ Web API ▪ Internal API Source: Building a BFF https://bit.ly/vssummit-bff / Phil Calçado https://bit.ly/bff-Phil
  15. DATABASE & POLYGLOT PERSISTENCE Source: Martin Fowler Microservices https://bit.ly/3FaAhO6

  16. COMMUNICATIONS Source: Microservices Communications https://bit.ly/3oyFRUA (Kafka, RabbitMQ)

  17. 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
  18. DISTRIBUITEDTRANSACTION"SAGA PATTERN" Abordagem ❖Choreography ❖Orchestration Estratégias ❖Retries / Timeouts ❖Compensation

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

  20. OBSERVABILITY

  21. CLOUD-NATIVEAPPLICATIONDEVELOPMENT • Kubernetes como “PaaS” • Balanceamento de carga •

    Gerenciamento de falhas • Distribuição de processamento • Monitoramento (Microsoft AKS, AWS EKS, Oracle EKE, Google GKE)
  22. SERVICE MESH& API GATEWAY Source: Service Mesh https://bit.ly/3DaflFc • Service

    Discovery • Traffic management • Resilience • Canary release • A/B Testing • Monitoring • Logs • Security
  23. 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)
  24. CLOUD NATIVE SECURITY & DEVSECOPS Source: Kubernetes - https://bit.ly/3ud1pGc •

    Cloud • Cluster • Container • Code
  25. 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
  26. DEVPRIMECLI🚀 Ignite Production-Ready Microservices

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

    (OpenAPI)
  28. RELIABLESERVICES Distributed Systems (circuit breaker) (Auto retry) (HTTP Request) (Observability

    “Automatic Log” + “Fast Debug”) Microservices Domain Handler State Fail Fast Event-Driven Resilience
  29. 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: https://keda.sh
  30. SOFTWARE-FIRST “Desenvolva soluções para impactar 1 bilhão de pessoas”

  31. #VSSUMMIT MUITO OBRIGADO! RAMON DURÃES CEO, DEVPRIME / MICROSOFT MVP

    RAMONDURAES@DEVPRIME.TECH “Crie um novo microsserviço em minutos https://devprime.tech”