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
150
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
700
Other Decks in Technology
See All in Technology
VLMサービスを用いた請求書データ化検証 / SaaSxML_Session_1
sansan_randd
0
240
Intro to Software Startups: Spring 2025
arnabdotorg
0
230
o11yツールを乗り換えた話
tak0x00
2
610
UDDのススメ - 拡張版 -
maguroalternative
1
390
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
450
相互運用可能な学修歴クレデンシャルに向けた標準技術と国際動向
fujie
0
230
オブザーバビリティプラットフォーム開発におけるオブザーバビリティとの向き合い / Hatena Engineer Seminar #34 オブザーバビリティの実現と運用編
arthur1
0
370
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
280
いかにして命令の入れ替わりについて心配するのをやめ、メモリモデルを愛するようになったか(改)
nullpo_head
7
2.5k
大規模イベントに向けた ABEMA アーキテクチャの遍歴 ~ Platform Strategy 詳細解説 ~
nagapad
0
210
全員が手を動かす組織へ - 生成AIが変えるTVerの開発現場 / everyone-codes-genai-transforms-tver-development
tohae
0
100
Agent Development Kitで始める生成 AI エージェント実践開発
danishi
0
130
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
How STYLIGHT went responsive
nonsquared
100
5.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Statistics for Hackers
jakevdp
799
220k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Designing for Performance
lara
610
69k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Fireside Chat
paigeccino
38
3.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
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