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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Colin Jones
February 11, 2016
Programming
170
0
Share
Beyond top: Command-Line Monitoring on the JVM (ClojureRemote)
Colin Jones
February 11, 2016
More Decks by Colin Jones
See All by Colin Jones
A Bug's Life: What if `select` is Broken After All?
trptcolin
0
180
Underestimated costs of microservice architectures
trptcolin
3
1.6k
FP vs. OOP: Beyond the Bikeshed
trptcolin
0
460
Diving into the Details with DTrace! (RubyConf 2016 edition)
trptcolin
2
540
Diving into the Details with DTrace
trptcolin
3
540
Adopting FP: the good, the familiar, and the unknown
trptcolin
0
280
Finding out what's *really* going on, with DTrace!
trptcolin
1
410
Beyond top: Command-Line Monitoring on the JVM (JavaOne 2015)
trptcolin
1
700
ZooKeeper: Wait-free coordination for Internet-scale systems
trptcolin
2
220
Other Decks in Programming
See All in Programming
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
10
2.7k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
3k
inferと仲良くなる10分間
ryokatsuse
1
260
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
280
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
150
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
360
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
7
2.7k
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
6
1.2k
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
250
Oxlintのカスタムルールの現況
syumai
4
460
[BalkanRuby 2026] Drop your app/services!
palkan
3
700
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
67k
For a Future-Friendly Web
brad_frost
183
10k
GraphQLとの向き合い方2022年版
quramy
50
15k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
Writing Fast Ruby
sferik
630
63k
Navigating Weather and Climate Data
rabernat
0
200
sira's awesome portfolio website redesign presentation
elsirapls
0
260
Mind Mapping
helmedeiros
PRO
1
210
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
830
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