I agree there’s a time and place to vertically scale, but in general due to its acquisition, limits, and costs, it’s frowned upon unless there’s a good reason.
As for the community size, the pure backend number of NodeJS projects are definitely fewer than number of Java projects, but since NodeJS and other JS communities are blended (because they’re mostly interchangeable) NodeJS’s effective community is significantly larger than the Java community even if you combined every JVM language into it. Despite what you said, there are many metrics over many years that say this
Using JDK 8, not 9, which for lambda makes a big difference, and with no indication of JDK tuning. [The article is from] 2018, when serverless was not nearly as big and JDK 10 was either not yet out or only coming out soon, that's forgiveable, but it could make a big difference even then.
...or as I said: A few years ago, I'd have said "you do need a higher skill level to get a JVM app into a small memory footprint" but these days "tuning java for cold starts" is a google search away, and indeed, for Lambda in particular AWS has their own guides on it.
I agree there’s a time and place to vertically scale, but in general due to its acquisition, limits, and costs, it’s frowned upon unless there’s a good reason.
May depend on which corner of the industry, but rightsizing is definitely not just a matter of saying "always scale out horizontally." FinOps and making sure that you don't run into AWS account limits will always put some limits on that, if you're on public cloud.
This is a non-anon account, and I've worked from small-ish startups to Facebook (~10 years ago in the pre-Meta days.)
but since NodeJS and other JS communities are blended (because they’re mostly interchangeable) NodeJS’s effective community
Which ends up mostly being node/npm as a build tool for FE stuff. Doesn't mean most of those folks are effectively BE devs. From what I can see, good NodeJS BE devs are harder to to find than Java, and I've tried to hire both.
View all comments
Show parent comment
1
u/raynorelyp Jun 11 '24
Granted this is a few years old, but no data since has indicated this has changed at all and every other person on the internet disagrees with you that JVM cold starts aren’t significantly slower then NodeJS. https://skryvets.com/blog/2018/06/15/comparing-java-and-nodejs-performance-on-aws-lambda/
I agree there’s a time and place to vertically scale, but in general due to its acquisition, limits, and costs, it’s frowned upon unless there’s a good reason.
As for the community size, the pure backend number of NodeJS projects are definitely fewer than number of Java projects, but since NodeJS and other JS communities are blended (because they’re mostly interchangeable) NodeJS’s effective community is significantly larger than the Java community even if you combined every JVM language into it. Despite what you said, there are many metrics over many years that say this