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
83
Event-Driven Microservices Architecture: Até que ponto é sustentável?
larchanjo
0
350
Change Data Capture (CDC) libertando seus dados em sua Arquitetura Distribuída.
larchanjo
0
350
The challenges of multiple functions and characteristics in a Microservices Architecture
larchanjo
0
230
API securing principles as a software developer at Cloud Era
larchanjo
0
330
Istio beyond Observability
larchanjo
0
150
Native Image, AOT, or JIT: When to use in your Java Architecture
larchanjo
0
360
The Twelve-Factor App: Review and lessons learned
larchanjo
0
280
gRPC: Integrating east / west services in high performance!
larchanjo
1
540
Other Decks in Technology
See All in Technology
Grafana x PagerDuty Better Together
jacopen
1
260
【基本】データベース設計
oracle4engineer
PRO
2
180
コードや知識を組み込む / Incorporate Code and knowledge
ks91
PRO
0
150
コードファーストの考え方。 Amplify Gen2から学ぶAWS次世代のWeb開発体験
yoshiitaka
2
370
How to Lead? Testimonial of a Lead Android Engineer
oleur
1
110
競技としてのKaggle、役に立つKaggle
yu4u
6
2.3k
MixIT 2024 - Pulumi : Gérer son infra avec son langage de programmation préféré
ju_hnny5
1
120
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.4k
Handling focus in 2024
tahia910
0
230
The AI Revolution Will Not Be Monopolized: Behind the scenes
inesmontani
PRO
1
160
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
37k
Building Dashboards as a Hobby
egmc
0
370
Featured
See All Featured
Faster Mobile Websites
deanohume
300
30k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
7
3.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
11
1k
Producing Creativity
orderedlist
PRO
338
39k
Designing with Data
zakiwarfel
96
4.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Side Projects
sachag
451
41k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Facilitating Awesome Meetings
lara
43
5.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
RailsConf 2023
tenderlove
8
550
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