3 ms·
I agree that the focus on memory size is misguided, but I do think that startup times are critical even (especially?) in production. Compounding the startup tim
by dastbe 10y ago
I agree that the focus on memory size is misguided, but I do think that startup times are critical even (especially?) in production. Compounding the startup time of the JVM w/ classpath searching and reflection heavy libraries and frameworks really impact dynamic scaling and deployment. When I can setup monitoring that dynamically scales my application fleet in seconds, having to eat the cost of both a large binary (JDK + all of my various libraries) and then the startup cost of that application hurts.
I'm not saying that Java applications can't be built to be small and fast, but its not how most of industry had thought about building them. Golang has the benefit of not having that legacy to begin with.
- saryant 10y agoDynamically scaling a Kafka cluster in seconds is generally not something you're going to want to do anyways, regardless of what it's implemented in. Rebalancing partitions isn't fast.
- dastbe 10y agoI wasn't commenting to Kafka specifically (I've never operated a Kafka cluster in a production environment), but Java applications in general.