Hi, I've done some more testing and found that when multiple calls are made it's only the first call that takes along time, after that the speed is very good. I think it's something to do with the crypto engines needing to initialise. The speed between services is fast because the crypto engines only need to be initialised once per deployment.

From: "Ruchith Fernando" <[EMAIL PROTECTED]>
To: "Dave Bagguley" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: Encryption and decryption performance issues
Date: Sun, 5 Nov 2006 20:08:57 +0530

Hi Dave,

On 10/30/06, Dave Bagguley <[EMAIL PROTECTED]> wrote:
Hello.

I have some code in which a client calls a service, this service's callback
handler then acts as a client to another service using encryption on both
the request and response flow. Encryption is then used on the response flow
from the original service and the client.

I have noticed some very major time issues with this set up.  The
communication between the two services is very fast but communication
between the service and the client takes a long time. I have used TCPMonitor
and discovered that the encrypted message arrives back at the client very
quickly but it takes 10 seconds for the message to be decrypted and the
service output to be printed to the screen.

Is this length of time usual? Why is it so much faster between the two
services?

it doesn't sound usual. Can the time difference be due to the amount
of payload and the processing capabilities of the box the client runs?

Which versions of WSS4J and xml-security are you using?

Thanks,
Ruchith


Thanks,
Dave

_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search!
http://toolbar.live.com/?mkt=en-gb


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Windows LiveĀ™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to