$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Disruptor
Search
Viney
July 30, 2019
Technology
0
81
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
520
Microservice
evilsmile
0
200
Efficiency and performance
evilsmile
0
34
Ristretto
evilsmile
0
50
Other Decks in Technology
See All in Technology
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
390
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
560
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
210
品質のための共通認識
kakehashi
PRO
4
360
ディメンショナルモデリングを支えるData Vaultについて
10xinc
1
110
Python 3.14 Overview
lycorptech_jp
PRO
1
120
30分であなたをOmniのファンにしてみせます~分析画面のクリック操作をそのままコード化できるAI-ReadyなBIツール~
sagara
0
180
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
14
6.5k
Jakarta Agentic AI Specification - Status and Future
reza_rahman
0
110
シニアソフトウェアエンジニアになるためには
kworkdev
PRO
3
180
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
420
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
A Tale of Four Properties
chriscoyier
162
23k
Facilitating Awesome Meetings
lara
57
6.7k
Thoughts on Productivity
jonyablonski
73
5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
Become a Pro
speakerdeck
PRO
31
5.7k
For a Future-Friendly Web
brad_frost
180
10k
Producing Creativity
orderedlist
PRO
348
40k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
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