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
Zero Coupled Microservices
Search
Sibiu Web Meetup
July 21, 2022
Programming
0
8
Zero Coupled Microservices
Sibiu Web Meetup
July 21, 2022
Tweet
Share
More Decks by Sibiu Web Meetup
See All by Sibiu Web Meetup
Git commit messages and PR etiquette
sibiuwebmeetup
0
16
Introduction to Cypress
sibiuwebmeetup
0
13
Web Application Security
sibiuwebmeetup
0
69
Ethereum: Quick & Dirty
sibiuwebmeetup
0
75
Automation in Code Reviews
sibiuwebmeetup
0
96
useState(props.title)
sibiuwebmeetup
0
82
Introduction into ClojureScript
sibiuwebmeetup
0
34
Launching into Orbit.js
sibiuwebmeetup
0
42
Static website generators
sibiuwebmeetup
0
28
Other Decks in Programming
See All in Programming
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
300
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
400
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
160
C#/.NETのこれまでのふりかえり
tomokusaba
1
180
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
0
190
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1.1k
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
440
macOS でできる リアルタイム動画像処理
biacco42
9
2.3k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
480
推し活としてのrails new/oshikatsu_ha_iizo
sakahukamaki
3
2k
現場で役立つモデリング 超入門
masuda220
PRO
15
3.1k
Featured
See All Featured
BBQ
matthewcrist
85
9.3k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
What's new in Ruby 2.0
geeforr
343
31k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Agile that works and the tools we love
rasmusluckow
327
21k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Why Our Code Smells
bkeepers
PRO
334
57k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Transcript
Zero coupled microservices Being able to communicate between microservices without
actually communicating between them.
About me Radu
summary …
Monolith
Monolith
Pro & CONS
What’s the alternative?
microservices
microservices
does it cover monolith’s downsides?
Pro & CONS
how can we improve traffic management?
Orchestrators
The web
orchestrators
Pro & CONS
transactions
what can we do about transactions?
the queues
the queues Q Q
clients
Pro & CONS
how can we eliminate absolute failures?
the bus’
the bus’ B L L
clients
Pro & CONS
Can we not duplicate the data?
The bus’’
lists as tables … 1 2 2 3 4 1
2 1 3 4 1
compaction … 1 2 2 3 4 1 2 1
3 4 1
compaction 2 3 4 1
the bus’’ B
clients
Pro & CONS
Yeah. But do we have tools for what you’ve said?
tools
Tools B Kafka https://kafka.apache.org Kafka Connect https://docs.confluent.io/platform/current/connect/index.html ksqlDB https://ksqldb.io Q
RabbitMQ https://www.rabbitmq.com Amazon SQS https://aws.amazon.com/sqs
can we have a practical example?
the bus’ example
What? prutcommerce Online shopping
services artemis Product management melissa Order management evander Payment management
Get the products Place orders Pay orders
flow artemis Product management melissa Order management evander Payment management
client Web browser Get products Place order Validate product Success Payment Validate order Success
Can we see the example once?
REsources
resources Kafka Connect https://docs.confluent.io/platform/current/connect/index.html Kafka https://kafka.apache.org ksqlDB https://ksqldb.io example’s github
https://github.com/prutcommerce Docker Compose https://docs.docker.com/compose webpack https://webpack.js.org Docker https://www.docker.com
contact GitHub https://github.com/radubuciuceanu LinkedIn https://ro.linkedin.com/in/radu-buciuceanu-9bb669203 Facebook https://www.facebook.com/b.radu1995
qa?
Thank you!