Hi Remko,
On 2.03.2025 04:27, Remko Popma wrote:
In my work we create trading applications that send orders to the stock
exchange when market conditions change. If the JVM would decide to stop the
world to collect garbage, we might not get the orders sent out in time.
Our whole stack (messaging, persistence, business logic) is garbage free. We
log a lot, to ensure visibility on what the application is doing, and for fast
troubleshooting. Log4j being garbage free is essential to our success.
I read some opinions that due to the improvements in Java's garbage
collector, garbage-free code has lost its importance for Java trading
applications. Unfortunately I don't seem to find those links again.
Anyway I am happy to see that those opinions were largely exaggerated.
Piotr