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
Beyond top: Command-Line Monitoring on the JVM ...
Search
Colin Jones
February 11, 2016
Programming
0
130
Beyond top: Command-Line Monitoring on the JVM (ClojureRemote)
Colin Jones
February 11, 2016
Tweet
Share
More Decks by Colin Jones
See All by Colin Jones
A Bug's Life: What if `select` is Broken After All?
trptcolin
0
140
Underestimated costs of microservice architectures
trptcolin
3
1.5k
FP vs. OOP: Beyond the Bikeshed
trptcolin
0
400
Diving into the Details with DTrace! (RubyConf 2016 edition)
trptcolin
2
410
Diving into the Details with DTrace
trptcolin
3
500
Adopting FP: the good, the familiar, and the unknown
trptcolin
0
190
Finding out what's *really* going on, with DTrace!
trptcolin
1
350
Beyond top: Command-Line Monitoring on the JVM (JavaOne 2015)
trptcolin
1
660
ZooKeeper: Wait-free coordination for Internet-scale systems
trptcolin
2
170
Other Decks in Programming
See All in Programming
Youtube Lofier - Chrome拡張開発
ninikoko
0
2.4k
custom_lintで始めるチームルール管理
akaboshinit
0
200
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
630
Vibe Codingをせずに Clineを使っている
watany
17
6.1k
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
180
Going Structural with Named Tuples
bishabosha
0
200
State of Namespace
tagomoris
4
760
パスキーのすべて / 20250324 iddance Lesson.5
kuralab
0
150
Being an ethical software engineer
xgouchet
PRO
0
210
PHPで書いたAPIをGoに書き換えてみた 〜パフォーマンス改善の可能性を探る実験レポート〜
koguuum
0
140
SQL Server ベクトル検索
odashinsuke
0
170
[NG India] Event-Based State Management with NgRx SignalStore
markostanimirovic
1
110
Featured
See All Featured
KATA
mclloyd
29
14k
Designing for Performance
lara
607
69k
GitHub's CSS Performance
jonrohan
1030
460k
Practical Orchestrator
shlominoach
186
10k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
It's Worth the Effort
3n
184
28k
Making Projects Easy
brettharned
116
6.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
650
Visualization
eitanlees
146
16k
Transcript
Beyond top(1) Command-Line Monitoring on the JVM Colin Jones @trptcolin
8th Light
command-line tooling
introspection & serviceability on the JVM
war stories
A long time ago in a startup far, far away…
Things are going pretty well
But strange things are afoot
the server sometimes gets really slow
the team has to manually restart the application server
Pain, frustration, anger
Just the facts
sometimes, things get slow
all requests seem to be affected
the JVM stays up
restart the JVM and everything is fine
What could it be?
Demo
More facts!
what application code was running
constant full GCs
what’s in the heap
What could it be?
None
None
Mystery solved!
Now “just” fix it
idea 1: eliminate the leak
idea 2: eliminate the cache altogether?
idea 3: delete the feature
idea 4: re-think the problem
So we’re good, for now…
Lessons
“it’s slow” could mean lots of things
“high CPU” could mean lots of things
collecting data is crucial in a crisis
reproducing the issue helps me sleep at night
The right tools for the job
Other “right tools for the job”
Learning more
Books Books!
operators are standing by!
Thank you! Colin Jones @trptcolin