Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Reactor Pattern
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Luram Archanjo
October 02, 2019
Technology
260
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Reactor Pattern
Luram Archanjo
October 02, 2019
Transcript
15 slides
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
More Decks by Luram Archanjo
See All by Luram Archanjo
Cell-Based Architecture
larchanjo
0
360
Escalando e liderando tecnicamente com o uso dos 3Ps
larchanjo
0
190
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
480
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
480
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
300
API securing principles as a software developer at Cloud Era
larchanjo
0
410
Istio beyond Observability
larchanjo
0
180
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
520
The Twelve-Factor App: Review and lessons learned
larchanjo
0
340
Other Decks in Technology
See All in Technology
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.5k
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
200
Is the Website Dying?
miriamschwab
0
160
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
kubellの最新データ分析環境
kubell_hr
2
270
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
20261119_AgentCore
takuyay0ne
2
280
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
270
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
870
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Navigating Weather and Climate Data
rabernat
0
600
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
4 Signs Your Business is Dying
shpigford
187
23k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Paper Plane
katiecoart
PRO
6
55k
Amusing Abliteration
ianozsvald
1
400
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
Crafting Experiences
bethany
1
460
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690