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
180
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
110
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
420
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
430
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
260
API securing principles as a software developer at Cloud Era
larchanjo
0
360
Istio beyond Observability
larchanjo
0
160
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
460
The Twelve-Factor App: Review and lessons learned
larchanjo
0
300
gRPC: Integrating east / west services in high performance!
larchanjo
1
720
Other Decks in Technology
See All in Technology
FastAPIの魔法をgRPC/Connect RPCへ
monotaro
PRO
1
670
BirdCLEF+2025 Noir 5位解法紹介
myso
0
190
「技術負債にならない・間違えない」 権限管理の設計と実装
naro143
35
10k
ユニットテストに対する考え方の変遷 / Everyone should watch his live coding
mdstoy
0
120
SwiftUIのGeometryReaderとScrollViewを基礎から応用まで学び直す:設計と活用事例
fumiyasac0921
0
120
AIAgentの限界を超え、 現場を動かすWorkflowAgentの設計と実践
miyatakoji
0
110
組織観点からIAM Identity CenterとIAMの設計を考える
nrinetcom
PRO
1
150
履歴 on Rails: Bitemporal Data Modelで実現する履歴管理/history-on-rails-with-bitemporal-data-model
hypermkt
0
2k
全てGoで作るP2P対戦ゲーム入門
ponyo877
3
1.3k
AI Agentと MCP Serverで実現する iOSアプリの 自動テスト作成の効率化
spiderplus_cb
0
430
SOC2取得の全体像
shonansurvivors
1
350
pprof vs runtime/trace (FlightRecorder)
task4233
0
150
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
890
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The Invisible Side of Design
smashingmag
301
51k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Embracing the Ebb and Flow
colly
88
4.8k
Gamification - CAS2011
davidbonilla
81
5.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Building Adaptive Systems
keathley
43
2.8k
Done Done
chrislema
185
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
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