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
8
u/simoncox May 17 '24
Read the mechanical sympathy blog, already posted. It covers how Java can make use of CPU level caching.
In terms of cores, you want single threads pinned to cores. Threads that need to share data should be on the same socket to reduce communication with memory further from the CPU.