4 ms·
Optaplanner is very much not the type of workload that would benefit from Shenandoah, which is optimized for reduced pause times and low latency. Optaplanner's
by darksaints 5y ago
Optaplanner is very much not the type of workload that would benefit from Shenandoah, which is optimized for reduced pause times and low latency. Optaplanner's most useful solvers do lots of garbage collection, so throughput considerations dominate significantly over latency concerns. You'd use G1, ZGC, or Shenandoah for web apis or trading platforms, but not for a computation heavy solver that is expected to not produce useful results for minutes or hours.
- marsdepinski 5y agoGood clarification as I don't believe many JVM users realize that the various GCs have different use cases.
- ge0ffrey 5y agoAgreed - but I 'll run the benchmarks anyway for a new blog post. Measuring is knowing. OptaPlanner is best of with Parallel GC (high throughput), but most java processes (REST services etc) are much better off with G1GC (low latency) and its siblings (Shanandoah, Z GC).