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
Disruptor
Search
Viney
July 30, 2019
Technology
0
78
Disruptor
Introduce the high performance queue mechanism in JAVA
Viney
July 30, 2019
Tweet
Share
More Decks by Viney
See All by Viney
Goroutine Pool in 17LIVE
evilsmile
0
510
Microservice
evilsmile
0
190
Efficiency and performance
evilsmile
0
32
Ristretto
evilsmile
0
46
Other Decks in Technology
See All in Technology
ニッポンの人に知ってもらいたいGISスポット
sakaik
0
150
React19.2のuseEffectEventを追う
maguroalternative
1
420
Liquid AI Hackathon Tokyo プレゼン資料
aratako
0
110
Railsの話をしよう
yahonda
0
160
20251014_Pythonを実務で徹底的に使いこなした話
ippei0923
0
210
プレーリーカードを活用しよう❗❗デジタル名刺交換からはじまるイベント会場交流のススメ
tsukaman
0
180
アイテムレビュー機能導入からの学びと改善
zozotech
PRO
0
180
プロダクトのコードから見るGoによるデザインパターンの実践 #go_night_talk
bengo4com
1
2.6k
LLMプロダクトの信頼性を上げるには?LLM Observabilityによる、対話型音声AIアプリケーションの安定運用
ivry_presentationmaterials
0
280
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
技育祭2025【秋】 企業ピッチ/登壇資料(高橋 悟生)
hacobu
PRO
0
110
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
140
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Building Adaptive Systems
keathley
44
2.8k
For a Future-Friendly Web
brad_frost
180
10k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
How STYLIGHT went responsive
nonsquared
100
5.8k
Become a Pro
speakerdeck
PRO
29
5.6k
Bash Introduction
62gerente
615
210k
KATA
mclloyd
32
15k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Site-Speed That Sticks
csswizardry
13
910
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Transcript
Disruptor By Viney
What's that?
Like: syslog fluentd
Speed = Money
None
PubSub model
None
Data in Queue related to policy
End to end Latency = computational time + latency of
moving data
Blocking Queue 4 array-based 4 linked list based
Racing issue
None
Synchronization Lock
Issues 4 Repeatedly accessing data in memory 4 Not cache-friendly
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Performance https://colobu.com/2016/07/22/using-go-disruptor/ 4 Java Disruptor : 183486238 ops/s 4 go-disruptor
: 137931020 ops/s 4 go channel : 6995452 ops/s
What if we have a slow consumer? 4 batching effect
4 multiple consumers
None
What if the buffer is constantly full? 4 enhance ring
size 4 seperate producers 4 multiple Disruptors
When to use it? 4 low latency required
reference 4 https://lmax-exchange.github.io/disruptor/files/ Disruptor-1.0.pdf 4 https://github.com/smartystreets-prototypes/go- disruptor
Q&A