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
220
The Reactor Pattern
Luram Archanjo
October 02, 2019
Tweet
Share
More Decks by Luram Archanjo
See All by Luram Archanjo
Cell-Based Architecture
larchanjo
0
260
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
130
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
450
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
450
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
280
API securing principles as a software developer at Cloud Era
larchanjo
0
390
Istio beyond Observability
larchanjo
0
170
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
480
The Twelve-Factor App: Review and lessons learned
larchanjo
0
310
Other Decks in Technology
See All in Technology
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
6
2.6k
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
330
Phase11_戦略的AI経営
overflowinc
0
1.5k
Phase07_実務適用
overflowinc
0
1.8k
Phase10_組織浸透_データ活用
overflowinc
0
1.5k
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
240
_Architecture_Modernization_から学ぶ現状理解から設計への道のり.pdf
satohjohn
2
750
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
350
契約書からの情報抽出を行うLLMのスループットを、バッチ処理を用いて最大40%改善した話
sansantech
PRO
2
250
「捨てる」を設計する
kubell_hr
0
240
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
160
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
110
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
590
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
52k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
840
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
KATA
mclloyd
PRO
35
15k
Optimizing for Happiness
mojombo
378
71k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
Evolving SEO for Evolving Search Engines
ryanjones
0
170
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
Docker and Python
trallard
47
3.8k
Side Projects
sachag
455
43k
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