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
160
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
100
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
410
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
420
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
250
API securing principles as a software developer at Cloud Era
larchanjo
0
360
Istio beyond Observability
larchanjo
0
150
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
450
The Twelve-Factor App: Review and lessons learned
larchanjo
0
300
gRPC: Integrating east / west services in high performance!
larchanjo
1
680
Other Decks in Technology
See All in Technology
勘違いから始まったProxmox on ProxmoxでGPUパススルー【JPmoxs勉強会#7】/JPmoxs7_GPU_Passthrough_on_Proxmox_on_Proxmox-A_Journey_That_Started_with_a_Misunderstanding
tsukimi_site
1
180
会社員しながら本を書いてきた知見の共有
sat
PRO
2
630
初めてのGoogle Cloud by AWS出身者
harukasakihara
1
710
シンプルな設定ファイルで実現する AWS IAM Identity Center のユーザー管理と開発チームへの委譲 / Delegating AWS IAM Identity Center User Management with a Simple DSL
yamaguchitk333
3
440
AIオンボーディングとAIプロセスマイニング
nrryuya
4
940
[JAWS-UG 栃木 #2]AWS FISはドSなのか?システムに試練を与えて強くする!
sh_fk2
1
250
SmartHRの複数のチームにおけるMCPサーバーの活用事例と課題
yukisnow1823
1
770
アプリケーションの中身が見える!Mackerel APMの全貌と展望 / Mackerel APMリリースパーティ
mackerelio
0
100
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
5
530
AWS パートナー企業のテクニカルサポートが日々思っていること 〜そして、4/15 の現場から〜
kazzpapa3
2
380
開発も運用もビジネス部門も! クラウドで実現する「つらくない」統制とセキュリティ / Effortless Governance and Security Enabled by the Cloud
kanny
3
1.2k
VueUseから学ぶ実践TypeScript #TSKaigi #TSKaigi2025
bengo4com
3
5.3k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
92
6k
GraphQLとの向き合い方2022年版
quramy
46
14k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
Site-Speed That Sticks
csswizardry
6
570
Measuring & Analyzing Core Web Vitals
bluesmoon
7
450
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
Six Lessons from altMBA
skipperchong
28
3.8k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Typedesign – Prime Four
hannesfritz
41
2.6k
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