r/java • u/daviddel • Apr 12 '26
How Netflix Uses Java - 2026 Edition #JavaOne
https://youtu.be/ucJTPda_zx0-26
Apr 12 '26 edited Apr 12 '26
[removed] — view removed comment
15
u/danskal Apr 12 '26
Usually you’re limited by the amount of context you can have. Expecting it to handle a big app was never going to work.
2
u/BinaryRage Apr 13 '26
We use parallel and G1 where it makes sense, the majority of workloads happen to be latency sensitive.
2
u/Wootery Apr 13 '26
It makes sense for streaming, but burning CPU just to avoid a 1-second GC pause on heavy background jobs seems like a waste.
It seems clear from the video that they looked at this pretty closely and found the limited increase in CPU load was worth it for them, especially as so much of their service is apparently subject to strict timeouts to ensure responsiveness for users. They're also clear that they treat it as a default choice, not as mandatory, so perhaps batch-style workloads use different GCs.
(Video content itself isn't served from a Java server. They use nginx.)
-7
u/johnnybgooderer Apr 12 '26
You work with Claude to make a plan. Then in a new instance, you work with Claude to break it down. Repeat until you have tasks around the size you’d give an experienced engineer.
Then you decide on your quality level vs speed level. You could have Claude handle the tasks by spawning subagents where it reviews itself, or you could do have Claude code one task at a time while you review each one before committing.
25
u/expecto_patronum_666 Apr 12 '26
Was hoping for some virtual threads usage related metrics but apparently they are still testing. I might be wrong but I had the feeling that they would like Structured Concurrency to go GA for broader adoption of virtual threads.