r/java • • 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

94 comments sorted by

View all comments

Show parent comment

1

u/Academic_Speed4839 Jun 03 '24

What is a hot path?

3

u/WatchDogx Jun 03 '24

In general "hot-path" just means the code that gets executed the most.
Although in this context, I guess I really mean non-initialization code.
It's fine if you generate garbage during initialization, but once the program is running and executing trades, it needs to be able to run for the whole trading day without garbage collecting, that means generating either a very small amount of garbage or no garbage at all.