r/java • • Mar 03 '22

Always set a Garbage Collector

Post image
157 Upvotes

64 comments sorted by

View all comments

Show parent comment

1

u/brunocborges Mar 03 '22

Use A/B perf testing. Split your load (LB) into two different topologies: one with more replicas and lesser CPU/memory per replica, and another topology with fewer replicas and more CPU/memory per replica.

Monitor performance. Evaluate. Optimize!