views:

443

answers:

2

Does ASP.NET worker process still return data in chunks of 31Kb

This MSDN article written in May 2004 specifies the following.

When using the ASP.NET process model, the ASP.NET worker process sends responses back to the client, it first sends them through IIS in 31-kilobyte (KB) chunks. This applies to .NET Framework 1.1, but it could change in future versions. The more 31-KB chunks that ASP.NET has to send through IIS, the slower your page runs. You can determine how many chunks ASP.NET requires for your page by browsing the page, viewing the source, and then saving the file to disk. To determine the number of chunks, divide the page size by 31.

Has this architecture been changed since 2.0, 3.5 and 4.0?
If so then whats the new chunk size for each of the new versions of .NET?

[Edit]
Its been more than two weeks since the posting still no correct reply :(
And please do not provide speculative answers

A: 

The buffering limit can be increased according to this kb. Hope this is it.

http://support.microsoft.com/kb/925764

zapping
This is mostly about classic asp, and for serving classic ASP worker process is not used, ASPNET worker process is used for ASP.NET.Also the article talks about response size of `4 MB default value`....And also it is only relevant to IIS 6.0 (not that many of us use IIS 5.0)
Binoj Antony
+2  A: 

I think the real question is - does it matter? The original article was horribly written to make you think that it does. The 31kb chunks returned from the worker process to IIS are all on one system, it did not mean that 31kb chunks are returned to the client. IIS processes those chunks then separately determines how to chunk them to send to the client. Performance is not related to the # of chunks, it's related to the # of bytes.

Changing the size of the chunks would not change your performance in any appreciable way. It would be like trying to change the internal memory page size on a word document. I think this is the reason MS hasn't mentioned the chunk size since 2004 - it's an internal measure that has no appreciable bearing on performance.

Andrew
@andrew there has been 3 answers prior to yours which were deleted, please please put this as a comment and not as an answer.
Binoj Antony
@Binoj - you're asking something that is internal to Microsoft software, not something that has anything to do with performance. You won't get an answer by asking people to delete their answers ... add a bounty.
Andrew
@Andrew but the fact remains that your answer is still a comment on the question and not an answer. If this question remain unanswered then there was some chance that someone from MS would have a look at this, you are spoiling this opportunity. Anyways I have no control on moderating non-answers :(My intention was to keep it in the unanswered questions for at least some time till it gets answered...
Binoj Antony
Binoj - it only remains on the unanswered question list for a short period of time as well. Add a bounty.
Andrew