Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: IO::Socket::SSL / Net::SSLeay inefficient in non-blocking mode ?

by Yaribz (Beadle)
on Jun 26, 2022 at 12:03 UTC ( [id://11145073]=note: print w/replies, xml ) Need Help??


in reply to Re^5: IO::Socket::SSL / Net::SSLeay inefficient in non-blocking mode ?
in thread IO::Socket::SSL / Net::SSLeay inefficient in non-blocking mode ?

I did a small Perl script to parse your output, here are the results when processing the file:

16384: total nb: 613635 total time: 6885255 avg time: 11.2204404898678 -1: total nb: 3779378 total time: 10540192 avg time: 2.78886949122316

11.22 us in average for the "productive" calls of the SSL_read() function from libssl
2.79 us in average for the "unproductive" calls of the SSL_read() function from libssl

The "unproductive" calls timing at libssl side seems pretty consistent with the timing I have for the sysread calls in the non-SSL case (2.73 us).

  • Comment on Re^6: IO::Socket::SSL / Net::SSLeay inefficient in non-blocking mode ?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145073]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found