The state of SSL stacks:
The state of SSL stacks:
as the site is asleep, I'll offer the tldr: aws-lc is the fastest, wolfssl is number two, openssl is not very fast
but read the post later, it is super long and detailed
@bagder yeah, everything you can possibly imagine to do wrong, they did wrong. https://github.com/openssl/openssl/issues/18317
It's difficult to show all the degradations in a reproducible single-threaded benchmark, so I never updated that ticket. But in a multithreaded workload, their heavy reliance on malloc and all the locking it requires interacts badly with every other need for synchronization in a process.
@bagder not only did they kill their multithreaded performance by making every crypto mechanism dependent on malloc, they also made it impossible to safely free all of the library's allocated memory. https://github.com/openssl/openssl/issues/25294#issuecomment-2312841205
It's like the entire OpenSSL dev team got replaced by a bunch of recent CS grad students.
> but read the post later, it is super long and detailed
Open site: « 53 minutes read ». « Super long » is almost an euphemism at this point!
@sekh ppl are free to design software as they wish. But requiring support for something deliberately removed from the protocol 4yrs ago is something that may end up hurting consumers of the service.
Their choice, but it’s a short sighted choice imho
@bagder "In SSL, performance is the most critical aspect."
Surely it's the *second* most critical aspect?