Optimizing sockets to 1000 requests/sec? (Was: Sockets and messaging services)
Cliff Wells
logiplexsoftware at earthlink.net
Fri Nov 16 12:40:07 EST 2001
On Friday 16 November 2001 04:05, Cezary Biernacki wrote:
> Stephen wrote:
> > Thanks for the help, Cezary
> >
> >>So, for really testing server you should launch clients from another
> >>machine(s).
> >
> > Sorry, you've lost me here. If the server can't generate
> > threads quick enough to deal with the incoming connections,
> > how will moving the clients to another machine give the
> > server more time (except perhaps in introducing a network
> > delay) ?
>
> Your client threads also use processor time. When NUMTHREADS > 5 they
> can be sheduled before a server starts accepting connections. It doesn't
> depend on speed of the machine - faster processor -> faster clients
> generates new connections.
I haven't seen mention of which OS this server is running on, but I know NT 4
prior to SP5 had serious threading issues and would fail (I don't remember in
what way) if you created more than a few threads (nor do I recall the exact
number of threads).
--
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308
More information about the Python-list
mailing list