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
37
Monitoramento de SEO com Cloud Functions
vvgomes
0
32
Quando Microserviçoes Encontram Event Sourcing
vvgomes
0
270
Arquitetura Orientada a Eventos no mundo Serverless
vvgomes
0
430
When Microservices Meet Event Sourcing
vvgomes
6
1.3k
When Microservices met Event Sourcing
vvgomes
1
590
Feature Leads
vvgomes
1
770
As Melhores Práticas na Condução de Entrevistas Técnicas
vvgomes
0
620
Microservices e Event Sourcing em Larga Escala
vvgomes
2
700
Other Decks in Programming
See All in Programming
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
2
160
パスタの技術
yusukebe
1
540
AIでLINEスタンプを作ってみた
eycjur
1
210
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
190
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
330
為你自己學 Python - 冷知識篇
eddie
1
290
CSC305 Summer Lecture 12
javiergs
PRO
0
130
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
170
AHC051解法紹介
eijirou
0
640
Honoアップデート 2025年夏
yusukebe
1
870
TROCCO×dbtで実現する人にもAIにもやさしいデータ基盤
nealle
0
370
自作OSでDOOMを動かしてみた
zakki0925224
1
1.4k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Scaling GitHub
holman
463
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Gamification - CAS2011
davidbonilla
81
5.4k
Music & Morning Musume
bryan
46
6.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Six Lessons from altMBA
skipperchong
28
4k
Documentation Writing (for coders)
carmenintech
73
5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
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