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

Arquitetura Orientada a Eventos no mundo Server...

Arquitetura Orientada a Eventos no mundo Serverless

Vinicius Gomes

April 23, 2018
Tweet

More Decks by Vinicius Gomes

Other Decks in Programming

Transcript

  1. ONLINE RESTAURANT 6 Customers Menu Orders Publica Consome MenuItemAdded MenuItemAdded

    CustomerSignedUp CustomerSignedUp OrderPlaced OrderOpened OrderPlaced OrderOpened OrderPlaced MenuItemAdded CustomerSignedUp
  2. Publica Consome MenuItemAdded MenuItemAdded CustomerSignedUp CustomerSignedUp OrderPlaced OrderOpened OrderPlaced OrderOpened

    OrderPlaced MenuItemAdded CustomerSignedUp DE VOLTA AO ONLINE RESTAURANT 13 Customers Menu Orders
  3. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  4. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  5. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  6. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  7. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  8. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  9. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  10. CQRS + EVENT SOURCING 14 API Gateway Commands Queries Event

    Bus Query DB Event Store Event Sourcing Event Listener 1 Event Listener n
  11. SERVERLESS EDA Pontos para pensar… •Custo de Ops •Vendor Lock-in

    •Nível de customização •Previsibilidade de carga 16
  12. SERVERLESS EDA Pontos para pensar… •Custo de Ops •Vendor Lock-in

    •Nível de customização •Previsibilidade de carga •Natureza do problema 16
  13. SERVERLESS EDA Pontos para pensar… •Custo de Ops •Vendor Lock-in

    •Nível de customização •Previsibilidade de carga •Natureza do problema 16 Código do exemplo: github.com/vvgomes/serverless-restaurant