473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SSL performance

Hi,
I am developing a service, both client and server in C# WSE2. To secure the
connection I'm using both server and client certificate. The problem is that
I receive a performance hit for about 20-30 sec on the first call with the
following calls under 1 sec. So my question is, what the heck is going on?
:-) Can someone confirm that this is casused by the SSL handshake?

Now, this would be a minor problem if it only occured on the first hit and
then the SSL session were kept alive for a while. Sadly, it isn't so. If no
calls are made in approx. 10 min I get the same result. This perticular
service will have very few calls during a day so as it is now, everyone will
get the perf. hit.

I've tried to increase ServerCaheTime in registry and also ClientCaheTime
with no luck, also the app-pool in IIS is set to not recylce for a long
period of time.

The client is hosted by dllhost.exe.

Regards.
Nov 23 '05 #1
3 1402
Hi Markus,
I'm trying to do the same thing, and probably will have same problem
later when my service goes staging for testing. do you have any info
regarding how to increase the SSL session alive time?

thanks,
-Jason

"Markus" <Ma****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,
I am developing a service, both client and server in C# WSE2. To secure the connection I'm using both server and client certificate. The problem is that I receive a performance hit for about 20-30 sec on the first call with the
following calls under 1 sec. So my question is, what the heck is going on?
:-) Can someone confirm that this is casused by the SSL handshake?

Now, this would be a minor problem if it only occured on the first hit and
then the SSL session were kept alive for a while. Sadly, it isn't so. If no calls are made in approx. 10 min I get the same result. This perticular
service will have very few calls during a day so as it is now, everyone will get the perf. hit.

I've tried to increase ServerCaheTime in registry and also ClientCaheTime
with no luck, also the app-pool in IIS is set to not recylce for a long
period of time.

The client is hosted by dllhost.exe.

Regards.

Nov 23 '05 #2
on a side note, Markus, can you tell me what product to purchase from
Verisign for the client certificate? I couldn't figure out what to buy from
their website.

thanks,
-Jason

"Markus" <Ma****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,
I am developing a service, both client and server in C# WSE2. To secure the connection I'm using both server and client certificate. The problem is that I receive a performance hit for about 20-30 sec on the first call with the
following calls under 1 sec. So my question is, what the heck is going on?
:-) Can someone confirm that this is casused by the SSL handshake?

Now, this would be a minor problem if it only occured on the first hit and
then the SSL session were kept alive for a while. Sadly, it isn't so. If no calls are made in approx. 10 min I get the same result. This perticular
service will have very few calls during a day so as it is now, everyone will get the perf. hit.

I've tried to increase ServerCaheTime in registry and also ClientCaheTime
with no luck, also the app-pool in IIS is set to not recylce for a long
period of time.

The client is hosted by dllhost.exe.

Regards.

Nov 23 '05 #3
Hi Jason!

1. I haven't figured this one out yet, maybe someone at MS could help us out?
2. Well, you don't acctually need any product from VeriSign or such when
producing client certificates IF you own the (web)service. Because you can
produce your own client certs with any CA-product, for example MS Certificate
Server. But please notice, you will need a root certificate signed by
VeriSign (or any other trusted CA) to make your server(domain-name) trusted
by any third party customers.

Regards,
Markus

"ja********@newsgroups.nospam" wrote:
on a side note, Markus, can you tell me what product to purchase from
Verisign for the client certificate? I couldn't figure out what to buy from
their website.

thanks,
-Jason

"Markus" <Ma****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,
I am developing a service, both client and server in C# WSE2. To secure

the
connection I'm using both server and client certificate. The problem is

that
I receive a performance hit for about 20-30 sec on the first call with the
following calls under 1 sec. So my question is, what the heck is going on?
:-) Can someone confirm that this is casused by the SSL handshake?

Now, this would be a minor problem if it only occured on the first hit and
then the SSL session were kept alive for a while. Sadly, it isn't so. If

no
calls are made in approx. 10 min I get the same result. This perticular
service will have very few calls during a day so as it is now, everyone

will
get the perf. hit.

I've tried to increase ServerCaheTime in registry and also ClientCaheTime
with no luck, also the app-pool in IIS is set to not recylce for a long
period of time.

The client is hosted by dllhost.exe.

Regards.


Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Brian Patterson | last post by:
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr...
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
12
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
7
by: Michael D. Ober | last post by:
When calling Enqueue, the internal array may need to be reallocated. My question is by how much? In the old MFC array classes, you could tell MFC how many additional elements to add to the array...
1
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.