Re: Concurrently streaming a file to HttpResponse and file IO
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Mon, 28 Apr 2008 22:30:19 -0400
Peter Bromberg [C# MVP] wrote:
I'm not convinced the proposed strategy makes a lot of sense -- It would take about the same time to read a resource from the disk as it does to select it out of a SQL server database table. So by having the extra work of storing requested resources in disk files, you might find that you haven't particularly bought yourself much increase in scalability - possibly even a decrease in same.
For many small files it would certainly decrease performance
sine file opening is an expensive process.
But for 32 MB BLOB's it may still be beneficial. At least
if the files are served by IIS not by an ASP.NET page.
Arne
.
- References:
- Concurrently streaming a file to HttpResponse and file IO
- From: Anders Borum
- RE: Concurrently streaming a file to HttpResponse and file IO
- From: Peter Bromberg [C# MVP]
- Concurrently streaming a file to HttpResponse and file IO
- Prev by Date: Re: Numeric/Numbers only in Datagridview
- Next by Date: Re: Concurrently streaming a file to HttpResponse and file IO
- Previous by thread: Re: Concurrently streaming a file to HttpResponse and file IO
- Next by thread: Re: Concurrently streaming a file to HttpResponse and file IO
- Index(es):
Relevant Pages
|