problem about long-running-processes-Collection of common programming errors


  • Xaqron
    asp.net configuration iis-7 long-running-processes
    Under windows server 2008 64bit, IIS 7.0 and .NET 4.0 if an ASP.NET application (using ASP.NET thread pool, synchronous request processing) is long running (> 30 minutes). Web application has no page and main purpose is reading huge files ( > 1 GB) in chunks (~5 MB) and transfer them to the clients. Code:while (reading) {Response.OutputStream.Write(buffer, 0, buffer.Length);Response.Flush(); }Single producer – single consumer pattern implemented so for each request there are two threads. I don’t

Web site is in building