🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by shaggie76 Wed, 16 Mar 2005 01:06
SSL substantially slower than SSH (INN 2.4.1)
#70913
Author: shaggie76
Date: Wed, 16 Mar 2005 01:06
33 lines
2865 bytes
I've been configuring a news server for our company and I'm putting the
finishing touches on it. After configuring SSL I was very disappointed
by its performance.

Currently we instruct remote users to use an SSH tunnel to access all
of our secured services (mail, news, intranet HTTP, etc). However, SSH
is somewhat cumbersome since it requires people to install a separate
program (we run Windows on our workstations). I was hoping to aleviate
some of this headache by configuring SSL for as many services as
possible (since our all client applications all support it out of the
box). However, now that I've got it running on INN 2.4.1/OpenBSD 3.6
I've noticed that it's substantially slower to connect using SSL
instead of tunneling through SSH.

My ultra-scientific benchmark is Outlook's "Syncronize Account" button.
This runs a series of commands on the server, including a query for
each newsgroup in the view (the per-newsgroup check is redundant
whenever there are no messages to sync, but to be thorough it seems
Outlook likes to do it anyway). My pocketwatch benchmark from a remote
machine puts the SSL technique at about 13 seconds and the SSH tecnique
at about 3 seconds.

Obviously Outlook is doing a very dumb thing. For each group it
connects, starts TLS, switches to the group it wants to check, and then
finishes. Presumably it would be better to persist a connection to
avoid the overhead of starting SSL each time. I think it's relevant,
however, because it says something about how things might scale.

Is the SSL startup cost on connection doomed to be significant or is
there something I can do to tune my system to improve this?

peace
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads