-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issues X certificates #270
Comments
Please take a look at a more illustrative example of reproducing the issue with OpenSSL. https://gist.github.com/thenno/f9282e24dbf03e15d4a75d2bf33331a4 Some results Ubuntu 20.04 (OpenSSL 1.1.1f, python 3.8.10) -> ~3ms per ssl context |
I never said that this issue is connected to #233. Moreover, the fixes made for #233 also help the situation in this issue – the fewer times I appreciate the effort of putting this experiment together, but I'm failing to see if you are suggesting something specific or not. Your measurements, as I see them, look like a further confirmation of the performance degradation introduced with Ubuntu 22.04 (#267). |
We indeed think in the same direction, my example just illustrates the current issue in another way and its dependence at least on the version of Ubuntu and OpenSSL, but not on the method of creating context. I hope that my test will help you with diagnostics and reproduction. But so far, I can't understand how the changes in #233 improve the situation. As far as I can see, the The situation with OpenSSL is quite unpleasant, and I don't have a really good solution either. Some options are:
What do you think about just adding some caches?
|
My bad, this was actually a side-effect of your 1st cert PR. Here is the part that make the amount of times SSLContext is created drop twofold – previously
I'll run some tests and come back. |
The text was updated successfully, but these errors were encountered: