4 ms·
Yeah, afaik HFT folks also disable GC and just restart the app, or even the machine, at the end of the day. Java game devs are also fond of object pools, to my
by aasasd 4y ago
Yeah, afaik HFT folks also disable GC and just restart the app, or even the machine, at the end of the day.
Java game devs are also fond of object pools, to my knowledge: they do as much allocation as possible at the start of a game level, and then avoid it until the level ends.
- nvarsj 4y agoYep that was what the critical loop trading components did (the ones w/ the models for buy/sell hooked up to the exchange feed). Completely disable GC and restart it every day. Every line of code in those critical loops was pored over to make it as fast as possible. These days it is a lot of FPGA based stuff but I like to believe the JVM stuff is still running somewhere.