07 Sep 24
04 Jul 24
The production-scale datacenter profiler (C/C , Go, Rust, Python, Java, NodeJS, .NET, PHP, Ruby, Perl, …) - elastic/otel-profiling-agent
04 Mar 23
On using JFR Analytics to locate a thread leak on a java application.
05 Apr 21
In which scratching the surface of hashCode() leads to a speleology trip through the JVM source reaching object layout, biased locking, and surprising performance implications of relying on the default hashCode().
28 Nov 20
Skija a collection of hand-crafted bindings for the JVM to the Skia library (the one that powers Chrome, Android, Flutter and Xamarin).
15 Apr 18
01 Nov 17
18 Mar 17
20 May 16
30 Apr 16
27 Feb 16
14 Aug 15
09 Jul 15
When tuning a prod Scala deployment a while back, I encountered a nasty “pregnant pause” every once in a while similar to what you have experienced. So, below are what I used in annotated form and adapted for the deployment you describe (the max heap setting). Some of these may be completely obvious to you (or others reading), yet are included for completeness.
05 Dec 13
02 Feb 12
Surprisingly common scenarios:
- requiring 1G memory to support a few hundred users
- saving 500K session state per user
- requiring 2M for a text index per simple document
- creating 100K temporary objects per user hit
19 Jan 12
This covers the basics of memory allocation and garbage collection in Java, the different garbage collectors available in HotSpot and how they can be tuned, and finally some anecdotes from Attila’s experiences at Twitter.