Using parallel gzip (pigz) instead of regular gzip in Orthanc?

I saw some discussions about slow compression speed in Orthanc. I was wondering whether using a parallel implemented version of gzip (pigz) will help the compress speed? pigz is a drop replacement of gzip and can utilize multi-core architecture, which is equipped in all modern servers, to speed up the process. One can find it at http://zlib.net/pigz/

Hello,

Thanks for this suggestion. You can easily implement a plugin that would replace the default storage area of Orthanc with one that would use pigz instead of gzip.

Have a look at the “OrthancPluginRegisterStorageArea()” of the plugin SDK:
https://orthanc.chu.ulg.ac.be/sdk/index.html

Regards,
Sébastien-