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 (ClojureRemote)
Search
Colin Jones
February 11, 2016
Programming
0
120
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
390
Diving into the Details with DTrace! (RubyConf 2016 edition)
trptcolin
2
330
Diving into the Details with DTrace
trptcolin
3
480
Adopting FP: the good, the familiar, and the unknown
trptcolin
0
150
Finding out what's *really* going on, with DTrace!
trptcolin
1
300
Beyond top: Command-Line Monitoring on the JVM (JavaOne 2015)
trptcolin
1
650
ZooKeeper: Wait-free coordination for Internet-scale systems
trptcolin
2
160
Other Decks in Programming
See All in Programming
DynamoDB コスト最適化っぽいことの基本 with Terraform
kuro_kurorrr
2
250
【Go言語】ジェネリクス
tomo1227
0
170
Trial
cairolibrary720
1
130
Rubyのパフォーマンスプロファイリングの改善 / Enhancing performance profiling for Ruby
osyoyu
1
410
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
140
Mastering Developer Experience: A Roadmap for Success 【開発生産性Conference 2024】
findyinc
1
380
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.9k
Xcode 16のPreviewModifierと@Previewableを活用した効率的なプレビュー方法の考察
ojun9
2
160
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
日付と正規化
megmogmog1965
0
140
Play Billing Library 7.0.0 変更点まとめ@potatotips#88
kako351
0
160
12年前の『型システム入門』翻訳の思い出話
mame
11
1.2k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Gamification - CAS2011
davidbonilla
78
4.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
The World Runs on Bad Software
bkeepers
PRO
63
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
277
13k
10 Git Anti Patterns You Should be Aware of
lemiorhan
652
58k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Infographics Made Easy
chrislema
238
18k
Into the Great Unknown - MozCon
thekraken
20
1.3k
Mobile First: as difficult as doing things right
swwweet
219
8.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
5 minutes of I Can Smell Your CMS
philhawksworth
200
19k
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