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
220
1
Share
The Reactor Pattern
Luram Archanjo
October 02, 2019
More Decks by Luram Archanjo
See All by Luram Archanjo
Cell-Based Architecture
larchanjo
0
290
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
140
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
400
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
社内RAGの導入で気を付けたポイント
yakumo
1
130
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.7k
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.6k
そのSLO 99.9%、本当に必要ですか? 〜優先度付きSLOによる責任共有の設計思想〜 / Is that 99.9% SLO really necessary? Design philosophy of shared responsibility through prioritized SLOs
vtryo
0
830
Swift Sequence の便利 API 再発見
treastrain
1
290
AI Agent に“攻略本”を渡したら、150フォームの移行が回り始めた話/登壇資料(高橋 悟生)
hacobu
PRO
0
120
セキュリティ対策、何からはじめる? CloudNative環境の脅威モデリングと リスク評価実践入門 #cloudnativekaigi
varu3
5
1k
分断された OT と IT を繋ぐ架け橋 -Kubernetes が切り拓く 産業用組み込み製品の現在地 -
yudaiono
1
120
ECSのTerraformモジュールにコントリビュートした話
harukasakihara
0
240
ワールドカフェ再び、そしてゴール・ルール・ロール・ツール / World Café Revisited, and the Goals-Rules-Roles-Tools
ks91
PRO
0
180
Gaussian Splattingの表現力を拡張する — 高周波再構成とインタラクションへのアプローチ —
gpuunite_official
0
190
The Bag-of-Documents Model for Query Understanding and Retrieval
dtunkelang
0
170
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Building an army of robots
kneath
306
46k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
140
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
230
Producing Creativity
orderedlist
PRO
348
40k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
280
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
380
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
190
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Building Applications with DynamoDB
mza
96
7k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
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