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
120
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
95
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
380
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
370
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
240
API securing principles as a software developer at Cloud Era
larchanjo
0
350
Istio beyond Observability
larchanjo
0
150
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
400
The Twelve-Factor App: Review and lessons learned
larchanjo
0
290
gRPC: Integrating east / west services in high performance!
larchanjo
1
600
Other Decks in Technology
See All in Technology
『GRANBLUE FANTASY: Relink』専任エンジニアチームで回す大規模開発QAサイクル
cygames
0
100
20240911_New_Relicダッシュボード活用例
speakerdeckfk
0
110
Analytics-Backed App Widget Development - Served with Jetpack Glance
miyabigouji
0
630
とあるOSSを継続可能にするための取り組みについて / OSS Refactoring Process
bun913
1
210
Next.js のページ遷移を全力で止める
ypresto
8
3.5k
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
8
1.4k
GC24 Recap: Interface Internals
task4233
0
230
学術機関におけるID連携とOpenID Connect
fujie
0
300
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
280
Agile in Automotive Industry, puzzles and lights.
hiranabe
3
1.4k
タイミーのレコメンドにおける ABテストの運用
ozeshun
1
200
横断組織として考える共通DBの課題解決 〜 桃園の誓いアーキテクチャ 〜 / Addressing Shared Database Challenges as Cross-Team: “Peach Garden Oath” Architecture
4geru
0
160
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
Thoughts on Productivity
jonyablonski
66
4.2k
Building Your Own Lightsaber
phodgson
101
6k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
Designing for Performance
lara
604
68k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
Practical Orchestrator
shlominoach
185
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
A designer walks into a library…
pauljervisheath
201
24k
Bash Introduction
62gerente
608
210k
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