seanbun
-
2/9/2011 12:41:58 AM
File storage - Performance
Finished reading the article. (very useful article.)
http://devnet.kentico.com/Blogs/Martin-Hejtmanek/December-2009/Optimization-tip--Speed-up-your-images-and-files.aspx
I set my files store in db and filesystem. I expect the performance will be hurt on the first time web pages load. Once all files have redirected from db to disk. The website performance should be enhanced. However, since files store in file system. Every time when I request a file, it requires a redirect to get the file.
e.g. /getattachment/[guid]/[nodename] -> /file/01/[physical file path]
Since there are plenty of image in my website. They redirect would hurt both IIS and DB very much. (I do not use webfarm and only have one single IIS)
I tried the other approach. Apparently, if I turn off the "Store files in file system" and turn on the cache. The overall performance is much better. No more redirect and stores images in cache now.
Does anyone have same sort of situation? Is there any other approach to deal with this? Please advise.
Cheers. Matt
|