High-Speed Crypto Trading: JVM Techniques Behind Bitvavo’s µs Revolution
summary
Rebuild uses a deterministic replicated-state-machine on JVM with Raft, Aeron for reliable UDP + SBE + zero-copy transport, and strict zero-allocation code (object pools, flyweights, direct buffers). Measured internal processing hits 5 microseconds and end-to-end P99 stays under 1 ms (avg ~500 μs) while sustaining 100k orders per second. Deployment uses rolling upgrades with ingress snapshots and CI replay of the exact input log; kernel-bypass and CPU pinning eliminate OS jitter.
AI-written summary · about
chapters (9)
- 0:00Bitvavo and team intro
- 7:24Startup to high-performance needs
- 13:22Replicated state machine pattern
- 20:02Networking with reliable UDP
- 23:55Zero-copy SBE encoding
- 27:27Safe distributed deployments
- 34:08JVM low-latency best practices
- 38:05Performance results
- 40:14Q&A on networking trade-offs
related talks
54mCrypto Trading: JVM Techniques Behind Bitvavo’s Microsecond Revolution
49m1BRC – Nerd Sniping the Java Community
52mLow Latency Java in the Real World: LMAX Exchange & the Zing JVM
51mJava at Speed: Getting the Most Out of Modern Hardware
47mUltralow Latency with Java 11 and Terabytes of Data
21mFaster Data With Faster Java
45mProcessing 1m msgs/CPU/GB of memory with Quarkus and MicroProfile ...
51mHigh Bandwidth Data & Low-latency Java
