News for hackers. Stuff that matters.
Re:Kafka Removing Zookeeper Dependency by nhoughto on Saturday May 16, 2020 @09:18PM (#23208611)
Sometimes having more control over GC is useful tho, could save a re-write.

https://blog.discord.com/why-discord-is-switching-from-go-to...

Re:Kafka Removing Zookeeper Dependency by tptacek on Saturday May 16, 2020 @09:36PM (#23208715)
They rewrote to get away from garbage collection full-stop, so I don't think this is quite the argument for the JVM that you're making it out to be.

Not to mention: they resolved their Go GC problem, and rewrote the service in Rust as part of a wave of moving services to Rust because they just liked Rust.

Re:Kafka Removing Zookeeper Dependency by jonathanoliver on Saturday May 16, 2020 @11:48PM (#23209417)
I'm an active Go user and I've been working almost exclusively in Go since 2011. I have a feeling that over time, the number of knobs on Go will increase much like it has in Java. I'm trying to think back to my first experiences with Java in 1995. It was so simple compared to the overhead of getting things working in C/C++. So Java's got like 25+ years on Go and I would speculate that the number of knobs on Go in 25 years will be significantly higher. On the one hand, I don't like seeing all the crazy configurable stuff, e.g. CGO_....=1 until I actually need it.
Re:Kafka Removing Zookeeper Dependency by koffiezet on Sunday May 17, 2020 @06:58AM (#23211134)
Go is already 10yo, so I suppose this will be in 15 years?
Re:Kafka Removing Zookeeper Dependency by jonathanoliver on Sunday May 17, 2020 @10:42AM (#23212346)
Oops. Ya, 15. Off by 10 error!
Re:Kafka Removing Zookeeper Dependency by nhoughto on Saturday May 16, 2020 @11:12PM (#23209248)
yep so not 100% the same, but my point with linking to it is tunables / levers / control is useful. In other scenarios maybe you could get by without having to do a rewrite in Rust, maybe you could keep it in golang and tune the GC a bit.

Whilst I like the memory ballast as a clever solution, it does smell like a workaround to a solvable problem if a parameter existed to tune it directly.

Re:Kafka Removing Zookeeper Dependency by tptacek on Saturday May 16, 2020 @11:20PM (#23209289)
It's totally a workaround and I'm jumping on that last comment when I shouldn't be; it's just a reaction to the hyperbolic "you might have to rewrite" conclusion, because you won't have to rewrite, but indeed you might be annoyed by the lack of tunables.