On Apr 27, 2007, at 3:41 AM, Kumaran Arul wrote:
When I run the client and the server on the same machine it performs lot better than having both the client and the server on separate machines?
sure, since the OS is probably smart enough to realize its a local socket connection and optimize things. There's no network involved! :)
Also if I hit the server with 100 concurrent requests straight away it stalls with 100% CPU utilization. But if I send a first single request and subsequently send 100 concurrent requests it works fine.
This is starting "cold"?When performance testing java projects, its critical to provide a "warm up" period to allow the JVM to have a chance to load and initialize all code, as well as optimize the bytecodes (by converting to native code in most cases)
My code is show below. Any recommendations or suggestions will be greatly appreciated.
It looks okay at first blush. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
