> 1. In AST.NET, if you implement http async handler, ASP.NET
> thread will call the BeginProcessRequest method. How is this
> ASP.NET thread implemented ?
> Is it one of the managed thread pool thread ? (which one ?
> worker thread or completion port thread ?) Is it implemented
> using a custom thread pooling which is different from the
> .net thread pool ?

Thread pool thread.

> 2. When you call the async Socket's BeginWrite and pass a
> callback, which thread will invoke the callback ?
> Is it the one of the managed thread pool ? (again, which one
> ?) Or is it implemented using its own private thread pool ?
> (in this case, is it based on NT completion port ?) The main
> thing is I want to know if the thread is based on NT completion port.
> Has anyone had any experience using the .net async Socket ?
> Is the perf close to the unmanaged/native one ?

The data is written on an IO completion port (or read when doing BeginRead),
your callback is activated on a thread pool thread.

Adam..

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to