[Mono-dev] An asynchronous System.Runtime.Remoting.Channels.Tcp

Miguel de Icaza miguel at novell.com
Tue Sep 8 18:20:17 EDT 2009


    I like this patch very much, and I like that the way to enable it is
through the new "run_async" configuration option.

    My only feedback is that I believe this is a nice enough feature
that it deserves at least:

	* A blog entry announcing it, linking to:

	* A page on the Wiki with an explanation of what it does,
	  and how to use it.


> Hi all
> Attached is a patch to add an optional asynchronous path for the TCP  
> remoting channel server.
> The main benefit we see with this change is in reliability; when a  
> single server is servicing many clients at once (we test with over  
> 100) with large data transfers the standard synchronous channel will  
> often drop connections.  We tracked this down to the Accept() call in  
> TcpServerChannel.cs not being able to get to incoming connections  
> quickly enough.
> I was hoping that throughput of large transfers might be improved by  
> using the threadpool's asynchronous sockets support, but it turns out  
> that performance is pretty much the same as the current implementation.
> Any comments/suggestions for improvement?
> - Dick
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list