[Mono-dev] TcpServerChannel loosing connections under heavy load

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Mon Jul 13 13:46:20 EDT 2009


On Mon, 2009-07-13 at 19:36 +0200, pablosantosluac at terra.es wrote:
[...]
> > That should be modified to make use of the .NET ThreadPool and use
> > asynchronous operations for accept, read and write (this last one is not
> > "mandatory"). There's code in xsp that illustrates the way it should be
> > done.
> >
> >   
> Which ThreadPool exactly should be used?

The .NET Threadpool is the one in System.Threading.ThreadPool. It is
used by asynchronous delegates.

> Could you point me to the right code in xsp?

A simple "grep 'Accept'" yields
xsp/src/Mono.WebServer/ApplicationServer.cs.

-Gonzalo




More information about the Mono-devel-list mailing list