Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What JVM stops threads for ~20 micros?


http://www.azulsystems.com/products/zing/whatisit

8000$ per machine, though.

The G1 collector that will be made default in Java 9 might make some applications effectively pauseless too on some workloads.


This is a recurring theme. The Java proponents' alternative to the FREE BEAM VM is $8,000 per machine or some other high priced stuff. I could afford an extra IT person just by switching to BEAM on several machines!? Sign me up!


The pricey alternative is if you want the absolute best. The free alternative is already (with high probability, based on Erjang and more recent improvements) much better than BEAM. Not to mention the costs you save by not writing C code and having an immense selection of high-quality libraries to choose from.


Do you have proof that Erjang is better than Erland/BEAM with real-world benchmarks? Far as libraries, I'd agree with you that there's more. The quality part varies per library.


I know Azul, it doesn't guarantee pauses of 20 micros; <10 millis maybe. G1 isn't even close.


Here is the claim they make:

> Proven to deliver consistent latencies in the 10s of microseconds

http://www.azulsystems.com/products/zing-performance-data

-----------

For workloads where heap is at 100G they still claim latency under 20ms at the 99.999%.

http://www.azulsystems.com/sites/default/files//images/Azul_...

-----------

Now, I would be interested in an independent benchmark.


Indeed, they have good marketing :). Don't get me wrong, I think Azul and its C4 GC is very nice. However, beyond some absolute best case on smallish heaps, I do not see it hitting guaranteed 20 micros on large server heaps. Also, Azul sacrifices some throughput in favor of minimizing GC latency, which is fine as most things need tradeoffs but should be mentioned (G1 also has lower throughput than parallel due to heavier write barriers).


The Azul guys told me they treat any pause > 20us (or maybe 40us, I don't remember exactly) as a bug.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: