News for hackers. Stuff that matters.
Re:Apache Helix – Near-Realtime Rsync Replicated File System by pjmlp on Monday October 26, 2020 @05:30PM (#24901690)
Just like there are whole conference talks on how to use PGO data properly and optimization flags on AOT compilation toolchains, naturally one needs to spend the effort to learn how to use them and not just type -O2 and go home.

Or those that complain about RDBMS queries being slow, without having normalized their data or written proper indexes.

There is always bunch of people that don't know how to do things, and then there are those among them, that care to improve their skill set and get to know how to turn those knobs.

Re:Apache Helix – Near-Realtime Rsync Replicated File System by klodolph on Monday October 26, 2020 @05:35PM (#24901755)
Sure, but it’s only at large scale that you care about stuff like PGO. My experience is that even small shops care about JVM tuning.

It’s not a question of whether there are knobs to turn. It’s about the typical experience of an actual person running a JVM app versus, say, C or Go, and those experiences are quite different.

And we’re also talking about running someone else’s app. If your database queries are slow, that’s a conversation between the DBA and the devs. If you’re running some Apache app, you’re probably not talking to the devs.

Re:Apache Helix – Near-Realtime Rsync Replicated File System by pjmlp on Tuesday October 27, 2020 @01:29AM (#24904703)
In 20 years of using Java I only had one project where fine-tuning knobs was actually relevant.

Most of the time defaults just work.

Re:Apache Helix – Near-Realtime Rsync Replicated File System by Arelius on Monday October 26, 2020 @08:41PM (#24903318)
Yeah, I've been a C/C++ programmer for 15+ years with heavy focus on performance, and have not once run PGO. I think it's quite often the case for C/C++ programs that you -O2 and walk away, at least for codebases that your team doesn't specifically own.
Re:Apache Helix – Near-Realtime Rsync Replicated File System by bokchoi on Monday October 26, 2020 @08:24PM (#24903213)
> My experience is that even small shops care about JVM tuning.

This hasn't been my experience at all after running java on production servers for over a decade.

Re:Apache Helix – Near-Realtime Rsync Replicated File System by gpapilion on Monday October 26, 2020 @09:02PM (#24903466)
Unlike C/C++ you do have to care about tuning at a minimum to set the memory sizes.

That said you probably can’t get very far in c/c++ without worrying about memory the whole way through. So, you only worry about tuning when writing your code.

Re:Apache Helix – Near-Realtime Rsync Replicated File System by wbl on Monday October 26, 2020 @10:09PM (#24903874)
When you run into that problem with Go you stop dead because there is nothing to do.