r/java • • Jun 10 '24

[deleted by user]

[removed]

615 Upvotes

594 comments sorted by

View all comments

Show parent comment

1

u/CubicleHermit Jun 12 '24

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.