[Mono-dev] Memory usage on Mono remoting

Robert Jordan robertj at gmx.net
Tue Jul 14 06:34:59 EDT 2009


pablosantosluac at terra.es wrote:
> Also, you mentioned in a previous email that the TcpChannel should be
> changed so it uses Asynch sockets. I've seen you use AsyncCallBack on XSP.
> 
> My question is: I guess AsynchCallback will use a thread underneath,
> won't it? If so: what's the advantage over launching threads to accept
> calls?

The thread pool threads are already launched and they are
maintained by the runtime which is known to be faster than a
managed thread pool implementation.

Additionally, the default thread pool is already configurable
(see mono(1)).

> You mentioned it is better to use the default ThreadPool instead of the
> internal one in the TcpChannel, why is it going to be better?

See above.

Robert



More information about the Mono-devel-list mailing list