High throughput and low latency

In order to have maximum throughput and low latency, we need to use G1 GC and a large heap. When we have a large heap, a shorter pause time will lead to more time spent on serving the request, which is high throughput.

We use the -XX:+UseG1GC JVM option to indicate the JVM should use the G1 GC type.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset