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
98
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
390
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
390
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
410
The Twelve-Factor App: Review and lessons learned
larchanjo
0
290
gRPC: Integrating east / west services in high performance!
larchanjo
1
610
Other Decks in Technology
See All in Technology
バクラクにおける可観測性向上の取り組み
yuu26
3
420
Apple/Google/Amazonの決済システムの違いを踏まえた定期購読課金システムの構築 / abema-billing-system
cyberagentdevelopers
PRO
1
220
Gradle: The Build System That Loves To Hate You
aurimas
2
150
生成AIの強みと弱みを理解して、生成AIがもたらすパワーをプロダクトの価値へ繋げるために実践したこと / advance-ai-generating
cyberagentdevelopers
PRO
1
180
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
150
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
370
サイバーエージェントにおける生成AIのリスキリング施策の取り組み / cyber-ai-reskilling
cyberagentdevelopers
PRO
2
200
新卒1年目が向き合う生成AI事業の開発を加速させる技術選定 / ai-web-launcher
cyberagentdevelopers
PRO
7
1.5k
カメラを用いた店内計測におけるオプトインの仕組みの実現 / ai-optin-camera
cyberagentdevelopers
PRO
1
120
初心者に Vue.js を 教えるには
tsukuha
5
390
WINTICKETアプリで実現した高可用性と高速リリースを支えるエコシステム / winticket-eco-system
cyberagentdevelopers
PRO
1
190
大規模データ基盤チームのオンプレTiDB運用への挑戦 / dpu-tidb
cyberagentdevelopers
PRO
1
110
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
43
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
Why Our Code Smells
bkeepers
PRO
334
57k
How GitHub (no longer) Works
holman
311
140k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
A Tale of Four Properties
chriscoyier
156
23k
Optimising Largest Contentful Paint
csswizardry
33
2.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