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
The Reactor Pattern
Search
Luram Archanjo
October 02, 2019
Technology
1
130
The Reactor Pattern
Luram Archanjo
October 02, 2019
Tweet
Share
More Decks by Luram Archanjo
See All by Luram Archanjo
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
98
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
390
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
400
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
240
API securing principles as a software developer at Cloud Era
larchanjo
0
350
Istio beyond Observability
larchanjo
0
150
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
420
The Twelve-Factor App: Review and lessons learned
larchanjo
0
290
gRPC: Integrating east / west services in high performance!
larchanjo
1
630
Other Decks in Technology
See All in Technology
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
260
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
290
Qiita埋め込み用スライド
naoki_0531
0
5.1k
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.3k
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
podman_update_2024-12
orimanabu
1
270
kargoの魅力について伝える
magisystem0408
0
210
UI State設計とテスト方針
rmakiyama
2
580
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
480
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
How STYLIGHT went responsive
nonsquared
95
5.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
A designer walks into a library…
pauljervisheath
204
24k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Making the Leap to Tech Lead
cromwellryan
133
9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
Done Done
chrislema
181
16k
Writing Fast Ruby
sferik
628
61k
Transcript
Reactor Pattern vs Thread-based(pool) Pattern The Battle of Concurrency Patterns
Thread-based(pool) Pattern
Thread-based(pool) Pattern CLIENT 1 CLIENT 2 CLIENT 3 CLIENT 4
CLIENT 5 CLIENT 6 THREAD POOL THREAD 1 THREAD 2 THREAD 3 THREAD 4 THREAD 5
Reactor Pattern
The reactor pattern describes that a single thread runs in
a loop to deliver the events to the handlers
Reactor Pattern
Never blocks the Event Loop
Performance
Demo
What are the disadvantages?
What are the advantages of using Reactor Pattern?
Debug (Callback)
https://github.com/larchanjo /poc-vertx-grpc
Questions?
Thanks a million! /larchanjo /luram-archanjo