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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sibiu Web Meetup
July 21, 2022
Programming
0
18
Zero Coupled Microservices
Sibiu Web Meetup
July 21, 2022
Tweet
Share
More Decks by Sibiu Web Meetup
See All by Sibiu Web Meetup
DevSecOps: Develop Fast & Stay Secure
sibiuwebmeetup
0
39
Git commit messages and PR etiquette
sibiuwebmeetup
0
37
Introduction to Cypress
sibiuwebmeetup
0
20
Web Application Security
sibiuwebmeetup
0
120
Ethereum: Quick & Dirty
sibiuwebmeetup
0
88
Automation in Code Reviews
sibiuwebmeetup
0
110
useState(props.title)
sibiuwebmeetup
0
95
Introduction into ClojureScript
sibiuwebmeetup
0
42
Launching into Orbit.js
sibiuwebmeetup
0
54
Other Decks in Programming
See All in Programming
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
180
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
1
150
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
340
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
260
Ruby and LLM Ecosystem 2nd
koic
1
1.1k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
660
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
150
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
160
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.1k
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
200
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.5k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
How GitHub (no longer) Works
holman
316
150k
Scaling GitHub
holman
464
140k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
220
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
770
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
480
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
230
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
160
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!