Socket Performanve vs Direct communication

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi

While performance/stress testing my application (a COM+ Server
component) we drive the transaction to the component via a Socket
Server app, listening to a port and passing the incomming transactions
to the COM+ application. The Socket App then returns the response back
to the opened socket to the client. For a 100 users scenario, 8 CPU box
I am able to get 130 Transactions per seconds.

How ever if I try to pass these transactions directly to an instance of
the COM+ component without the Socket Server, I get performance f 190
Transactions per seconds.

Does spawning a Socket Server really incurr that kind of an overhead,
in this case it is 30%, or I am doing smething wrong with the Socket
Server app. It runs Async and spawns a new thread for each new
connection.

Thanks in Advance
Pawan

.



Relevant Pages

  • Socket Performance vs Direct communication
    ... While performance/stress testing my application (a COM+ Server ... Server app, listening to a port and passing the incomming transactions ... The Socket App then returns the response back ...
    (microsoft.public.dotnet.general)
  • Re: Question about multi-threading
    ... There are a number of different architectures available for you to pick ... the best architecture for building a "big" socket ... I have a server application that listens a port through a socket. ... I want a limited number of threads, so the server app just looks for one ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to terminate a socket in CLOSE_WAIT state
    ... FTP Server fixed for certain FTP clients who use both passive ... This was causing a PASSIVE opened socket to be left ... but instead expect the "half close" from the receiver. ... this sends a TCP/IP FIN packet to the ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Socket switch delay
    ... both at the client and at the server (and why ... would you set the send buffer size to zero on a non-overlapped ... One glaring error is your client does ... So when you use a single socket, ...
    (microsoft.public.win32.programmer.networks)
  • Re: Applet Hangs when submitting data to servlet
    ... to put a time limit on my socket connections and socket reads. ... public void setTimeoutthrows UnknownHostException, ... on our web server. ... private JButton theSubmitButton_, theClearButton_; ...
    (comp.lang.java.programmer)