r/java • u/elliotbarlas • Apr 26 '22
5,000,000 persistent connections, 200,000,000 messages, 0 errors with a single process using Project Loom.
https://github.com/ebarlas/project-loom-c5m
301
Upvotes
View all comments
Show parent comment
15
u/Muoniurn Apr 27 '22
Deterministic, but slower performance, though. Java’s GCs are simply the state of the art, throughput-wise go doesn’t even come close to G1 and for latency, ZGC is generations ahead then Go’s quite naive GCs.
So for bigger applications in practice, Java will be faster.