aerospike / aerospike-client-java

Aerospike Java Client Library
Other
236 stars 212 forks source link

Aerospike fetch time is too high when used with JRE-11 #195

Closed ghost closed 2 years ago

ghost commented 3 years ago

We are observing significantly higher fetch times when running the application with JRE-11. JRE version: jre-11.0.11 Aerospike-client version: 5.1.4

Below is a comparison graph of fetch times:

aerospike-comparison

Below is cpu profiling output of the application running with JRE-11:

hotspots

BrianNichols commented 3 years ago

Are you using OracleJDK 11 or OpenJDK 11? Can you try with both and see if there is a difference?

Also, I suggest compiling the client library with OracleJDK 11. There current precompiled client library is compiled with OracleJDK 8.

ghost commented 3 years ago

Used OpenJDK 11 so far. As suggested, will also try with OracleJDK 11 and update results here.