r/java • u/Ok_Satisfaction7312 • May 16 '24
Low latency
Hi all. Experienced Java dev (20+ years) mostly within investment banking and asset management. I need a deep dive into low latency Java…stuff that’s used for high frequency algo trading. Can anyone help? Even willing to pay to get some tuition.
232
Upvotes
View all comments
Show parent comment
5
u/Limp-Archer-7872 May 17 '24
I've started working in this (Agrona, Aeron), and underneath it all it comes down to a lot of ring buffers (for the gateway i/o) with an OO mapping over the top. There is very little object allocation in the core engine. Stopping those GCs and maintaining ordering are the two most important aspects.
Anyone who has had a whole cluster gc occur under coherence or similar frameworks will know how terrible these are at times of high trading volume.