Hey looking for some pointers on how to increase the performance of a DTED WCS query that returns GeoTiff. The same query on a Debian based system returns sub second. Also recreating the query using gdal_translate on the command line on the Alpine system is subsecond. It is only when we do the query using GeoServer on Alpine, even with the GDAL and GDAL_Translate plugins installed do we see very slow responses - 5 minutes+. I assume there is a native speedup with ImageIO-EXT that is Debian specific? Or maybe there is an issue with with the way Alpine handles file locks? We have tried adding -Djavax.imageio.ImageIO.useCache=false \ -Dorg.geotools.image.io.useio-cache=true" but that has no impact. Has anyone else run into this or have suggestions. Right now switching to a Debian image is not a possibility.
I’m not aware of anything that’s Debian specific… maybe on Alpine the JDK is different?
Or you’re on a different HW entirely?
Anyways, suggestion, try to capture some jstack on the slow system and see what it is working on, that migth give you a clue.
Cheers
Andrea
A search reports that Debian uses glibc for memory allocation (optimized for multi-threaded), and Alpine uses must libc for memory allocation (slower but less memory). Apparently this impacts java in general, and JINI specifically.
So changing up the JDK used is the thing to test next. Spring recommends a couple …