(no title)
troist | 5 years ago
The article focuses quite heavily on Zing vs Hotspot but it'd be interesting to see an analysis of a variety of the standard JVMs GC methods (namely Shenandoah).
For anyone interested in low latency Java I'd recommend watching some of Martin Thompson's talks on building LMAX and his blog Mechanical Sympathy is a great start too.
oftenwrong|5 years ago
Also, ZGC, which is considered production-ready in JDK 15.
bob1029|5 years ago
secondcoming|5 years ago
It also uses sun.misc.Unsafe to do the latency critical aspects, so yes it's Java, but most certainly not vanilla Java.
pron|5 years ago
ISL|5 years ago
It is hard to imagine the same performance on a Pentium Pro.
What is the right processor-independent measure for latencies like this? Number of clock-ticks? That seems flawed, too.
rokobobo|5 years ago
I saw people comment on the "fast<->smart" continuum, and in this context, I believe they mean smart=computationally intensive. (An extreme example is a stat arb shop running its portfolio optimizer.) But there's another way to gain an edge, which is to iterate quickly on your "fast" algorithms and develop them so they take advantage of opportunities that are only partially exploited by competitors. Java seemed pretty good for that purpose for about a decade. Things like JVM warmup, GC, individual ultra-low-latency responses whenever necessary, were all dealt with after the fact.
blibble|5 years ago
with a modern JVM you can even disable it entirely (Epsilon collector)
tormeh|5 years ago
fractionalhare|5 years ago
Software security matters, in the abstract, but trading firms don't care about it nearly as much as tech companies do. The other thing is that being as fast as C++ is not compelling enough a reason to replace C++ for their use cases. If anything, Rust's dependency management story would be the thing to highlight (this is part of what's compelling about the JVM).
unknown|5 years ago
[deleted]
pjmlp|5 years ago
troebr|5 years ago
alexeiz|5 years ago
unknown|5 years ago
[deleted]