Richard Startin
richardstartin.github.io · Personal blog · on HN since 2019
Richard Startin writes in depth about Java performance, profiling, vectorization, sampling algorithms and low-level CPU effects.
What HN saysHN commenters recommend it as a deep dive, praising posts on 4K aliasing and reservoir sampling as well written and well illustrated.
19HN people shared it
4linked it in comments
23stories submitted
369story points
1 year agolast shared
2019people per year2026
Most-shared posts
- 1Mundane Java Performance Tips3 people · 7 points · first shared 2021 · discussion on HN
- 2Understanding Request Latency with Profiling3 people · 4 points · first shared 2023 · discussion on HN
- 34K Aliasing (2020)2 people · 30 points · first shared 2021 · 6 comments on HN
- 4Finding Bytes in Arrays (2019)2 people · 7 points · first shared 2019 · discussion on HN
- 5Vectorised byte operations in Java 132 people · 6 points · first shared 2019 · discussion on HN
- 6RangeBitmap – How range indexes work in Apache Pinot2 people · 6 points · first shared 2022 · discussion on HN
- 7Reservoir sampling2 people · first shared 2021
- 8Don't Use Protobuf for Telemetry1 people · 223 points · first shared 2020 · 187 comments on HN
- 9Loop Fission1 people · 71 points · first shared 2021 · 8 comments on HN
- 10RoaringBitmap Java Library Performance Tricks1 people · 4 points · first shared 2020 · discussion on HN
- 11Depending on Implementation Details Is Bad Engineering1 people · 2 points · first shared 2020 · discussion on HN
- 12XXHash in Java1 people · 2 points · first shared 2019 · discussion on HN
- 13Multidimensional Switches1 people · 2 points · first shared 2020 · discussion on HN
- 14UUIDs and Compressibility1 people · 2 points · first shared 2023 · discussion on HN
- 15The Size of Tracing Data1 people · 1 points · first shared 2020 · discussion on HN
What HN people wrote when they linked it
gwittel · 2022-06-22
Vanilla Java is a great resource. The work that Chronicle does got me into low latency Java as well (not doing java now though).
Some other great resources I used:
* http://psy-lob-saw.blogspot.com/ - Not updated since 2018, but still great stuff in there
* https://richardstartin.github.io/ - A few posts per year. Richard does a lot of interesting things.
sadiq · 2025-05-08
This is a really nicely written and illustrated post.
An advanced extension to this is that there are algorithms which calculate the number of records to skip rather than doing a trial per record. This has a good write-up of them: https://richardstartin.github.io/posts/reservoir-sampling
touisteur · 2023-04-29
For those interested in a deeper dive, Richard Startin had a nice post on the topic https://richardstartin.github.io/posts/4k-aliasing