Re: Scalable tcp server



Henrik Goldman <henrik_goldman@xxxxxxxxxxxx> wrote:
In my test I wrote a client application which simulates up to 500
clients by spawning 500 threads. Each thread would then connect to
the server and perform a request. When the server is empty the
request takes about 250 ms. However with 500 idle clients connected
each request takes about 890 ms. This means that each request gets
slowed down by several times.

How do you know some of that isn't in the client? If I were looking
to measure the scalibility of a server I'd want to have several
clients, not just one client process with 500 threads. Or, I'd want
to check the client first by testing it against several servers at
once.

The suggestion to profile things is spot-on.

rick jones
--
web2.0 n, the dot.com reunion tour...
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.



Relevant Pages

  • RE: process starvation with 2.6 scheduler
    ... The network traffic is of request response type. ... The netperf clients run on an external box, ... A client sends request to a server, ... With an ICE connected to the Palladium (emulator) I have dumped the kernel data structures of the starved process and the active process. ...
    (Linux-Kernel)
  • Re: VB6 Winsock action on Server
    ... my usage of server app I meant the app on the server ... It is this piece 'dll' that i ... to delegate each request to a separate instance ... back to your Clients directly from *inside* the WorkerThreads, ...
    (microsoft.public.vb.general.discussion)
  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... my computer to the network on the server. ... Connection Wizard none of the computers were listed. ... The Mac clients can not communicate with the server box. ... > Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)
  • Re: Millions of Threads ?
    ... phones as clients. ... Of course, I need a server, too. ... turn-around time of 0.5 seconds, that suggests that you would have an average ... Notice that, on the above assumptions, you will be serving a request at ...
    (comp.lang.java.programmer)