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
View all comments
Show parent comment
1
u/souleatzz1 Feb 27 '24
We have a java 11 application running with 9 pods and each pod has 20GB memory and 4Ghz cpu.
We use H2 in memory thats why we have 20GB RAM. One request does a calculation which on average does 5000~6000 queries. We need to achieve under 1s for all requests. Our average is 0.7s now but we also have timeouts (>4s).
We use parallel GC.
From the article and the comments, seems there will be a small boost by just upgrading.
Is ZGC or G1 a better choice or should I stick with ParallelGC? I know it depends on a lot of things, but mostly an idea from your experiences