Re:Apache Pulsar is an open-source distributed pub-sub messa...
by geodel on Thursday January 02, 2020 @06:49PM
(#21941318)
> The problem is that most JVM apps just produce too much garbage,
This is strange way of saying that Java the language and most frameworks around it force apps to generate this much garbage.
Re:Apache Pulsar is an open-source distributed pub-sub messa...
by james-mcelwain on Thursday January 02, 2020 @07:11PM
(#21941478)
No, it's a way of saying that Java != the JVM. The JVM's GC is not "awful" precisely because so many Java frameworks are awful.
Re:Apache Pulsar is an open-source distributed pub-sub messa...
by nvarsj on Sunday January 05, 2020 @05:59PM
(#21964815)
I stand by that - I really think the JVM has a bad GC, and it has cost businesses billions probably. There is no trade off here - the JVM & Java have incredibly high memory requirements due to poor design - and this leads to all kinds of issues (like the bad GC latencies). No other language has this kind of problem as badly as the JVM does, even other GC languages. And we shouldn't accept this anymore - look at how much better golang's GC is for real world usage.
This just makes it seem like you are trolling. JVM devs have done more to advance state of art in this area than any other language. The problem is that most JVM apps just produce too much garbage, not necessarily that the algo itself is awful.
Either way, there's no such thing as an optimal GC algorithm, just different trade-offs depending on your use case. Not everyone cares about latency.