开发者

the importance of buffersize

While streaming big files (more开发者_运维技巧 than 150mb) with ASP.NET, to what should the buffersize be set? I use 16kb as default.

Does making the buffersize bigger (for example 320kb) increase performance and decrease server load?


The smaller the buffer the slower the transfer. The larger the buffer the more memory you will potentially use.

Found a similar posting When handling large file transfers in ASP.NET what precautions should you take? The MS Site recommends 100000 bytes but if your site can handle the higher buffer then use it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜