Escolar Documentos
Profissional Documentos
Cultura Documentos
@brito_michelli
#decoderweek youtube.com/michellibrito
Order Production
Payment Delivery
DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Order Production
Order Production
Order Production
Payment Delivery
Payment Delivery
Payment Delivery
DB
@brito_michelli
#decoderweek youtube.com/michellibrito
DB Order Production DB
Payment Delivery
DB
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Order Production
DB DB
Payment Delivery
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Order
Order
Order Production
DB DB
Payment
Payment Delivery
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura de Microservices envolve desde conceitos técnicos, financeiros e
gerenciais moldados principalmente sobre a necessidade do negócio.
@brito_michelli
#decoderweek youtube.com/michellibrito
Manutenibilidade Alta Disponibilidade
Flexibilidade Independência Melhor
Tecnológica das Equipes Performance
Melhor
Alta Escalabilidade Baixo Acoplamento
Testabilidade
Batch Reactive
@brito_michelli
#decoderweek youtube.com/michellibrito
Spring Spring Spring
Boot Framework Data
@brito_michelli
#decoderweek youtube.com/michellibrito
Microservices de
Negócio
Order Production
Service Service
DB DB
Payment Delivery
Service Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Microservices de
Negócio
DB DB
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
@brito_michelli
#decoderweek youtube.com/michellibrito
Preparation Kitchen
Service Service
PagSeguro
Service
@brito_michelli
#decoderweek youtube.com/michellibrito
@brito_michelli
#decoderweek youtube.com/michellibrito
Sim! Ainda temos uma Arquitetura de Microservices com base de
Order Production dados compartilhada.
Service Service
Payment Delivery
Service Service
Base de dados compartilhada gera forte acoplamento, sem isolamento
da modelagem de dados.
@brito_michelli
#decoderweek youtube.com/michellibrito
Base de dados por serviço geram a necessidade de sincronia de dados
Order Production na arquitetura e transações distribuídas.
Service Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Spring Data JPA
@brito_michelli
#decoderweek youtube.com/michellibrito
Preocupações Transversais
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
I Service I Service
DB DB
A A
Payment Delivery
P P
I
Service I Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 Spring Cloud
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
Inserido na versão 5 do Spring Framework
Servidor Netty
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
Eureka Server
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
Spring Cloud
Netflix Eureka
Server
Instancias podem ser registradas em um servidor Eureka:
Eureka Server
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
A A
Order Production
P P
Private I Service I Service
Network
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
Spring Cloud
Eureka Server
Config Server
Suporte para configuração externa em uma
arquitetura de Microservices
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
Logs
DB DB
Port 8080 API
Gateway
A A
Payment Delivery
P P
I
Service I Service
DB DB
A A
Order Production
P P
Private I Service I Service
Network
Logs
DB DB
Port 8080 API
Gateway
IDs
A A
Payment Delivery
P P
I
Service I Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
1 - API Gateway
3 - Externalized Configuration
4 - Observability
5 - Authentication e Authorization
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
Logs
DB DB
Port 8080 API
Gateway
IDs
A A
Payment Delivery
P P
I
Service I Service
DB DB
A A
Order Production
P P
Private I Service I Service
Network
Logs
DB DB
Port 8080 Spring Cloud
Gateway +
Spring Security
IDs
A A
Payment Delivery
P P
I
Service I Service
DB DB
@brito_michelli
#decoderweek youtube.com/michellibrito
@brito_michelli
#decoderweek youtube.com/michellibrito
Arquitetura
Microservices
A A
Order Production
P P
Private I Service I Service
Network
Logs
DB DB
Port 8080 API
Gateway
IDs
A A
Payment Delivery
P P
I
Service I Service
DB DB
A A
P Spring Boot P Spring Boot
Private I I
Network
Logs
DB DB
Port 8080 Spring Cloud
Gateway +
Spring Security
IDs
A A
P Spring Boot P Spring Boot
I I
DB DB
Spring Cloud Netflix Spring Cloud
Eureka Server Config Server
O entendimento do negócio juntamente com a experiência
e conhecimentos adquiridos, como o de Microservices
Patterns, são essenciais para você fazer as melhores
escolhas e definir as melhores soluções e assim ser um
profissional diferenciado no mercado.
@brito_michelli
#decoderweek youtube.com/michellibrito
@brito_michelli
#decoderweek youtube.com/michellibrito