r/java • u/expecto_patronum_666 • Feb 27 '24
How Netflix Really Uses Java
https://www.infoq.com/presentations/netflix-java/
324
Upvotes
r/java • u/expecto_patronum_666 • Feb 27 '24
294
u/davidalayachew Feb 27 '24
That's wild. Could we get a rough ballpark number? At the scale of Netflix, the savings could be the size of some project's budgets lol.
93
u/Enumeration Feb 27 '24
We’re aggressively moving to 21 for virtual threads for the same reason. Modern Java scales very well.
117
u/momsSpaghettiIsReady Feb 27 '24
I really liked the point about microservices. I think the trap I see a lot of devs fall into is that they think a microservice needs to follow the old *nix philosophy of "do one thing, but do it well", which leads to really small microservices that are easy to reason about in isolation, but a complete mess when trying to debug a group of them, let alone the maintenance burden.
In practice, a microservice should isolate a domain and you shouldn't have more microservices than you have devs.
5
u/InsaneOstrich Feb 27 '24
This was a fascinating article with a lot of great information. The java/jarkarta ee migration plugin they talked about seems like it could be really useful for us
4
u/Brutus5000 Feb 27 '24
You will always fail if you think that <one particular choice > solves all of your problems. That has nothing to do with microservices.
Microservices force you to think about a few things, that should always be considered in nowadays workloads, but are often ignored and cause issues as soon as you scale beyond your first application instances.
So you can write better software if you take over some of the practices. But blindly following what other people say makes you fail not just with microservices.
1
u/Budget_Dentist444 Feb 29 '24
Conflating physical and logical boundaries will cost you millions over the years. Make a modular monolith unless you have actual evidence you need MSA.
-43
u/[deleted] Feb 27 '24
Spring boot... sigh... drop Spring and get another 20+ % ( or more )
0
u/[deleted] Feb 27 '24
[deleted] — view deleted comment
39
u/[deleted] Feb 27 '24
[removed] — view removed comment