Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Thinking Event Driven Architectures with Server...
Search
Vinicius Gomes
July 20, 2018
Programming
0
1.9k
Thinking Event Driven Architectures with Serverless
Presented at ThoughtWorks XConf North America 2018
https://www.thoughtworks.com/xconf-na
Vinicius Gomes
July 20, 2018
Tweet
Share
More Decks by Vinicius Gomes
See All by Vinicius Gomes
Golpes e Fraudes Bancárias
vvgomes
0
35
Monitoramento de SEO com Cloud Functions
vvgomes
0
31
Quando Microserviçoes Encontram Event Sourcing
vvgomes
0
270
Arquitetura Orientada a Eventos no mundo Serverless
vvgomes
0
420
When Microservices Meet Event Sourcing
vvgomes
6
1.3k
When Microservices met Event Sourcing
vvgomes
1
580
Feature Leads
vvgomes
1
750
As Melhores Práticas na Condução de Entrevistas Técnicas
vvgomes
0
610
Microservices e Event Sourcing em Larga Escala
vvgomes
2
690
Other Decks in Programming
See All in Programming
Interface vs Types ~型推論が過多推論~
hirokiomote
1
250
型安全RESTで爆速プロトタイピング – Hono RPC実践
tacke_jp
0
110
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
140
がんばりすぎないコーディングルール運用術
tsukakei
1
210
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
290
Agent Rules as Domain Parser
yodakeisuke
1
470
Effect の双対、Coeffect
yukikurage
4
1.2k
Zennの運営完全に理解した #完全に理解したTalk
wadayusuke
1
180
インターフェース設計のコツとツボ
togishima
2
680
漸進。
ssssota
0
1.7k
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
680
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
15
3.2k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Building Adaptive Systems
keathley
42
2.6k
How to train your dragon (web standard)
notwaldorf
92
6.1k
Bash Introduction
62gerente
614
210k
A better future with KSS
kneath
239
17k
Faster Mobile Websites
deanohume
307
31k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
470
Transcript
Thinking Event Driven Architectures With Serverless Vinicius Gomes, Software Engineer
EXAMPLE Online Restaurant
ONLINE RESTAURANT
ONLINE RESTAURANT Customers Menu Orders
ONLINE RESTAURANT Customers Menu Orders
ONLINE RESTAURANT Customers Menu Orders
ONLINE RESTAURANT Customers Menu Orders
ONLINE RESTAURANT Customers Menu Orders Event
ONLINE RESTAURANT Customers Menu Orders " Event
ONLINE RESTAURANT Customers Menu Orders " Event
ONLINE RESTAURANT Customers Menu Orders " Event
ONLINE RESTAURANT Customers Menu Orders " Event
ONLINE RESTAURANT Customers Menu Orders Publish Consume MenuItemAdded MenuItemAdded CustomerSignedUp
CustomerSignedUp OrderPlaced OrderOpened OrderPlaced OrderOpened OrderPlaced MenuItemAdded CustomerSignedUp
Publish Consume MenuItemAdded MenuItemAdded CustomerSignedUp CustomerSignedUp OrderPlaced OrderOpened OrderPlaced OrderOpened
OrderPlaced MenuItemAdded CustomerSignedUp ONLINE RESTAURANT Customers Menu Orders
ONLINE RESTAURANT Menu
CQRS + EVENT SOURCING Menu
Service CQRS + EVENT SOURCING github.com/vvgomes/event-driven-restaurant
THINKING SERVERLESS
SERVERLESS
SERVERLESS
SERVERLESS BaaS
SERVERLESS BaaS FaaS +
SERVERLESS
SERVERLESS
SERVERLESS •Abstraction
SERVERLESS •Abstraction •Deployment
SERVERLESS •Abstraction •Deployment •Scalability
SERVERLESS •Abstraction •Deployment •Scalability •Monitoring
SERVERLESS •Abstraction •Deployment •Scalability •Monitoring •Cost
Publish Consume MenuItemAdded MenuItemAdded CustomerSignedUp CustomerSignedUp OrderPlaced OrderOpened OrderPlaced OrderOpened
OrderPlaced MenuItemAdded CustomerSignedUp Customers Menu Orders BACK TO THE ONLINE RESTAURANT
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING API Gateway Commands Queries Event Bus
Query DB Event Store Event Publisher Event Listener 1 Event Listener n
CQRS + EVENT SOURCING
CQRS + EVENT SOURCING Example source code github.com/vvgomes/serverless-restaurant
FINAL THOUGHTS
SERVERLESS EDA
SERVERLESS EDA Open questions
SERVERLESS EDA Open questions •Cost of operations?
SERVERLESS EDA Open questions •Cost of operations? •Vendor Lock-in?
SERVERLESS EDA Open questions •Cost of operations? •Vendor Lock-in? •Customization?
SERVERLESS EDA Open questions •Cost of operations? •Vendor Lock-in? •Customization?
•Predictability?
SERVERLESS EDA Open questions •Cost of operations? •Vendor Lock-in? •Customization?
•Predictability? •Nature of the problem?
thinking event driven architectures with serverless Vinicius Gomes THANKS