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
2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thinking Event Driven Architectures with Serverless
Presented at ThoughtWorks XConf North America 2018
https://www.thoughtworks.com/xconf-na
Vinicius Gomes
July 20, 2018
More Decks by Vinicius Gomes
See All by Vinicius Gomes
Golpes e Fraudes Bancárias
vvgomes
0
57
Monitoramento de SEO com Cloud Functions
vvgomes
0
55
Quando Microserviçoes Encontram Event Sourcing
vvgomes
0
300
Arquitetura Orientada a Eventos no mundo Serverless
vvgomes
0
450
When Microservices Meet Event Sourcing
vvgomes
6
1.3k
When Microservices met Event Sourcing
vvgomes
1
610
Feature Leads
vvgomes
1
870
As Melhores Práticas na Condução de Entrevistas Técnicas
vvgomes
0
700
Microservices e Event Sourcing em Larga Escala
vvgomes
2
770
Other Decks in Programming
See All in Programming
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
690
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
160
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
4
3.1k
AIエージェント時代のコードレビューを設計する
nogu66
6
2.6k
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
460
Press start. Python's next generation.
willingc
PRO
3
320
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
760
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
130
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
What We Talk About When We Talk About XP
m_seki
2
390
typoなんかねぇよ
raspython3
0
670
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
440
Featured
See All Featured
The Curse of the Amulet
leimatthew05
2
14k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
590
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
410
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Embracing the Ebb and Flow
colly
88
5.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
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