Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Reactor Pattern
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Luram Archanjo
October 02, 2019
Technology
260
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Reactor Pattern
Luram Archanjo
October 02, 2019
More Decks by Luram Archanjo
See All by Luram Archanjo
Cell-Based Architecture
larchanjo
0
330
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
180
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
470
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
470
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
290
API securing principles as a software developer at Cloud Era
larchanjo
0
410
Istio beyond Observability
larchanjo
0
170
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
510
The Twelve-Factor App: Review and lessons learned
larchanjo
0
340
Other Decks in Technology
See All in Technology
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
440
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
会社説明資料
persolserverworks
0
9.8k
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Building the Perfect Custom Keyboard
takai
2
910
Into the Great Unknown - MozCon
thekraken
41
2.8k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
We Are The Robots
honzajavorek
0
400
Site-Speed That Sticks
csswizardry
13
1.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