3 ms·
Can anyone link a reference for known performance issues in Java? And is it issues in Java or the JVM?
by shockzzz 11y ago
Can anyone link a reference for known performance issues in Java? And is it issues in Java or the JVM?
- valarauca1 11y agoI can't provide a direct link. But generally Java itself is rarely the problem. The language is fine, the byte code is great. The JVM on the other hand with its stop the world garbage collector is a constant source of performance issues. Especially once you start getting over 2-4GB heaps. GC cycles can take 1s+
- shockzzz 11y agoThe Golang GC is "better" than the JVM GC, according to this blog post? Though I think it's suggesting that the Golang GC is easier to tune and configure
- slantedview 11y agoThere are plenty of options for storing select data off heap, which a database such as Cockroach could certainly have taken advantage of.
- shockzzz 11y agoso this is an oversight on their part? it sounds like they had maybe a half-baked justification, but idk