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
140
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
99
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
400
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
410
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
250
API securing principles as a software developer at Cloud Era
larchanjo
0
360
Istio beyond Observability
larchanjo
0
150
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
430
The Twelve-Factor App: Review and lessons learned
larchanjo
0
300
gRPC: Integrating east / west services in high performance!
larchanjo
1
660
Other Decks in Technology
See All in Technology
全文検索+セマンティックランカー+LLMの自然文検索サ−ビスで得られた知見
segavvy
2
110
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
200
君も受託系GISエンジニアにならないか
sudataka
2
440
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
550
プロセス改善による品質向上事例
tomasagi
2
2.6k
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
550
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
2.1k
JEDAI Meetup! Databricks AI/BI概要
databricksjapan
0
150
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
630
明日からできる!技術的負債の返済を加速するための実践ガイド~『ホットペッパービューティー』の事例をもとに~
recruitengineers
PRO
3
410
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
370
データマネジメントのトレードオフに立ち向かう
ikkimiyazaki
6
1k
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Documentation Writing (for coders)
carmenintech
67
4.6k
Being A Developer After 40
akosma
89
590k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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