Since Oracle's long-term support JRE 8 is not available for free anymore, we
needed to find an alternative that is just as performant. The advice on 
this page <https://docs.geoserver.org/latest/en/user/production/java.html>  
might seem outdated, but there is still truth in it: in our experience
OpenJDK 8 has always been outperformed by Oracle JRE 8. So we ran a quick
and dirty benchmark using jMeter and the multiscale approach  described here
<https://geoserver.geo-solutions.it/edu/en/enterprise/jmeter.html>  , for
Oracle JRE 8, OpenJDK 8 (as  available here
<https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa>  ), AdoptOpenJDK
(Hotspot), and Amazon Corretto.

*Environment:*
Ubuntu 16.04 LTS
GeoServer 2.15.0
Marlin 0.9.4.2
Native JAI and ImageIO

*JVM options: *

I cannot give details about the dataset used, as it's confidential -
initially, we did not plan to publish these results. But the numbers should
be telling.

And here are the results. See  this page
<https://jmeter.apache.org/usermanual/component_reference.html#Aggregate_Report>
  
for an explanation of the header, although not all of those columns are
present in my reports. There's always room for debate, but /Average/ and
/Throughput/ should give you a rough idea.






So it turns out, at least in the realm of Java 8, AdoptOpenJDK and Amazon
Corretto are viable alternatives to Oracle JRE. We are not rushing to
upgrade to Java 11 yet, but it will be interesting to see if the difference
between Oracle JRE and the "stock" OpenJDK still stands.

I hope this is helpful to those who still need to run on Java 8.

Manuel Timita
illustreets.com



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to