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.8k
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
27
Monitoramento de SEO com Cloud Functions
vvgomes
0
27
Quando Microserviçoes Encontram Event Sourcing
vvgomes
0
260
Arquitetura Orientada a Eventos no mundo Serverless
vvgomes
0
390
When Microservices Meet Event Sourcing
vvgomes
6
1.2k
When Microservices met Event Sourcing
vvgomes
1
530
Feature Leads
vvgomes
1
690
As Melhores Práticas na Condução de Entrevistas Técnicas
vvgomes
0
560
Microservices e Event Sourcing em Larga Escala
vvgomes
2
640
Other Decks in Programming
See All in Programming
Progressive Web Apps for Rails developers
siaw23
2
550
Jakarta EE as Seen Trough the Lens of the ASF
ivargrimstad
0
320
2024-10-01 dev2next - Observability for Modern JVM Applications
jonatan_ivanov
0
140
dbt-ga4パッケージを実業務に導入してみた話
t_tokumaru_feedcorp
0
130
perl for shell, awk and sed programmers
mackee
1
740
データサイエンスのフルサイクル開発を実現する機械学習パイプライン
xcnkx
2
510
Cancel Next.js Page Navigation: Full Throttle
ypresto
1
210
ML-прайсинг_на_Lamoda__вошли_и_вышли__приключение_на_20_минут__Слава_Цыганков.pdf
lamodatech
0
220
Quarto Clean Theme
nicetak
0
220
C#および.NETに対する誤解をひも解く
ymd65536
0
310
XP2024 っていう国際会議に行ってきたよの記
bonotake
4
240
[PHPカンファレンス沖縄2024]「無理なくできるだけ安全に」テストもないレガシーコードをリファクタリングするテクニック
ikezoemakoto
3
130
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
87
5.6k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
59k
Done Done
chrislema
181
16k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
7
590
Writing Fast Ruby
sferik
626
60k
Infographics Made Easy
chrislema
239
18k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Producing Creativity
orderedlist
PRO
341
39k
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