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
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
Transcript
15 slides
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
More Decks by Luram Archanjo
See All by Luram Archanjo
Cell-Based Architecture
larchanjo
0
350
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
190
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
480
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
480
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
300
API securing principles as a software developer at Cloud Era
larchanjo
0
410
Istio beyond Observability
larchanjo
0
180
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
520
The Twelve-Factor App: Review and lessons learned
larchanjo
0
340
Other Decks in Technology
See All in Technology
Kiro CLI 入門 (ターミナルと CI で使う) | 目指せ Kiro マスター 03
inariku
PRO
2
140
GCASアップデート(202607-202610)
techniczna
1
250
生成AI時代のIAMのマニアックな話
takuros
6
3k
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
130
AI Agent 時代のデータ基盤: ClickHouse で実現する 超高速分析とコスト削減の両立
jozono
0
230
[dbts2026]数十PBの超巨大データ×AI活用を支えるSnowflakeの実力〜大規模環境におけるアーキテクチャと運用のリアル〜
y_matsubara
0
130
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
120
Linuxネットワークスタック進化の軌跡: 過去10年の歩みと最新トレンド
orimanabu
1
350
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
150
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
190
続・ソフトウェアアーキテクトのための意思決定術: Decision Readiness, Revisited — When AI Changes the Economics of Software Architecture
snoozer05
PRO
9
2.9k
2026 Apache Flink Community Checkpoint
rmetzger
0
230
Featured
See All Featured
Design in an AI World
tapps
1
390
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
660
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340
Exploring anti-patterns in Rails
aemeredith
4
560
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Leo the Paperboy
mayatellez
11
2.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
GitHub's CSS Performance
jonrohan
1033
470k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k