OpenSSL v3 performance regressions

Adrien Nayrat <adrien.nayrat@anayrat.info>

From: Adrien Nayrat <adrien.nayrat@anayrat.info>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-09-26T08:36:22Z
Lists: pgsql-hackers
Hello,


I read this article from Haproxy, they noticed OpenSSL v3 has huge 
performance regressions :
https://github.com/haproxy/wiki/wiki/SSL-Libraries-Support-Status#openssl

This is a known issue : 
https://github.com/openssl/openssl/issues/17627#issuecomment-1060123659

Unfortunately, v3 is shipped with many distributions (Debian, Redhat, 
Rockylinux...) : https://pkgs.org/search/?q=openssl

I am afraid of users will face performance issues once they update their 
distro.

Does someone already encounter problems? Should Postgres support 
alternative SSL libraries has HAProxy?

Regards,

-- 
Adrien NAYRAT