Skip to content
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

IceSSL connection establishment speed: C# vs Java #2884

Open
bernardnormier opened this issue Oct 10, 2024 · 2 comments
Open

IceSSL connection establishment speed: C# vs Java #2884

bernardnormier opened this issue Oct 10, 2024 · 2 comments
Labels
Milestone

Comments

@bernardnormier
Copy link
Member

On macos, ssl connection establishment in C# is a lot slower than Java:

% python3 allTests.py Ice/maxConnections --protocol ssl
*** [1/1] Running csharp/Ice/maxConnections tests ***
[ running client/server test - 10/10/24 16:32:03 ]
- Config: ssl
testing the creation of 100 connections... ok
testing the creation of 10 connections with connection lost at 11... ok
testing the creation of 10 connections with connection lost at 11 then recovery... ok

Ran 1 tests in 4.52 seconds
1 succeeded
% python3 allTests.py Ice/maxConnections --protocol ssl
*** [1/1] Running java/Ice/maxConnections tests ***
[ running client/server test - 10/10/24 16:34:34 ]
- Config: ssl
testing the creation of 100 connections... ok
testing the creation of 10 connections with connection lost at 11... ok
testing the creation of 10 connections with connection lost at 11 then recovery... ok

Ran 1 tests in 1.09 seconds
1 succeeded
@bernardnormier
Copy link
Member Author

It's actually just as slow in C++:

% python3 allTests.py Ice/maxConnections --protocol ssl
*** [1/1] Running cpp/Ice/maxConnections tests ***
[ running client/server test - 10/10/24 16:55:52 ]
- Config: ssl
testing the creation of 100 connections... ok
testing the creation of 10 connections with connection lost at 11... ok
testing the creation of 10 connections with connection lost at 11 then recovery... ok

Ran 1 tests in 4.59 second

@pepone
Copy link
Member

pepone commented Oct 10, 2024

Would be good to check if all mappings are picking the same TLS version, and cipher suite, otherwise the comparison is not fair.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants