rated by 0 users
This post has 4 Replies | 3 Followers

Top 10 Contributor
Male
Posts 124
Md Nazmul Ahsan Posted: 10-18-2009 11:24 AM

Hi,
If you have a web application, what will be the best, cheap and reliable storage you select for store files? Min. 5 -10 MB files are uploaded daily. You are not hosting your application in your own server. You are using web hosting company for host your application.

Any kind of suggesting is appreciated.

Thanks.

"Excuse if any gaffe."

Md Nazmul Ahsan
Programmer (.NET Framework)
CIS, IADCS & DIT

Top 25 Contributor
Male
Posts 21

Hi Nazmul, Nice to see you on MSDN again. When did you start working on web application:)? Anyway, just kidding...saving file totally depends on your hosting plan. I prefer saving image files on DataBase(SQL Database). Although saving and retrieving images from database is little harder compare to accessing local drive path. I always like the hard way:)...Actually, saving in DB makes those file saving reliable if you you daily backup you Database. Don't trust your local drive and admin for automatic saving/backing up those files. So if database space is no matter to your web hosting plan you should save those files to DB, otherwise local drive is the easiest solution. You should provide a way to the website admin to download those files as a backup in .zip format. Normally web hosting company has solid backup plan on which you can trust. So if time is factor and you have limitation like you have to make a web form which will upload those file and you have to finish that module building within 2 hour that you have no choice other than upload those file to local drive:). Everything depends on time. Ohh...one more thing, normally you can not upload files bigger than 4MB (? I guess 4 is the limit)  unless you change your web.config file.  Let me know if you need any more gayenn:D:D...Take care and hopefully see you on windows 7 events.

Ashfaq

 

Top 10 Contributor
Male
Posts 124

Hello Ashfaq,

I'm pleased to see you on MSDN Bangladesh again. It seems that long time you had no activity in here! :(  What's the matter? Anywaz.... The news is ...I'm still not start working on Web application :D. But it does not remain too longer :( , my company is pushing me toward web. Hey... Can you please send me some JavaScript books?

Now about gaynee :) >> I also prefer saving files (not only images) on Database (MS SQL) as binary format, if it does not conflict with user requirements. But when I'm talking about web, it has an issue about bandwidth. Does not it take long time to load?

Now about space, any ISP in the world does not give me unlimited web disk. right? So I think there is no way to save file in web disk. Do I get an unlimited database space in Bangladesh? Becoz My ISP is giving me 1 GB space. Yes, I can upgrade that when it overload.

I'm saving the different kinds of project reports as per recruitments (it can be 4 - 5 mb daily). So I do not have any time issue about making webform, becoz it's a part user requirement. Thanks for the information that normally I can not upload files bigger than 4MB. I do not know that point. I though it is only happen in <?PHP>.

I'm also hopeful to see you on windows 7 events. Agar event niya to onak constructive criticize kora hosilo abar amdar baynda rhakba nato .... Lollll :) :D

"Excuse if any gaffe."

Md Nazmul Ahsan
Programmer (.NET Framework)
CIS, IADCS & DIT

Top 25 Contributor
Male
Posts 21

Hello Nazmul,

Actually I was busy with new projects and still is. As I am now the lead developer and I always love to explore and implement new technology in .net...so I need to do all the research and experiment. So whenever I come online, I do blog reading. Moreover, I am preparing myself for .net 2nd exam. Recently I am using mobile phone to check my e-mail from bus on the way to office, so that I can give more time on my project. Unfortunately, I can't work 100% in 1 project. My boss always switch me from 1 project to another:(.

Now about saving files, In your situation I would recommend to compare SQL Server space price with disk space price, and also keep in mind if you have to query and retrieve your files from db too often then I think it is better idea to keep those files to disk drive. ASP.NET provide 2 types of caching. You can use the advantage of caching in that case(Actually you should use).

That's all for today, has to start working....hope to see you on windows 7 events and hope we will be able to come back without a scratch:)

Let me know which way you chooses and performance factor.

Ashfaq

Top 10 Contributor
Male
Posts 124

First thanks for your suggestion and make time for me. Not only your boss but also all bosses are same. They always like to switch from one to another. But I think it’s good for us. They give us an opportunity to gather knowledge from different area.

I have no more on that file saving tasks. But we have planned to use db for store files. I will let you know the performance factor, when it’s done. I will pass you caching tips.
Then…. see you on the event. :) I'm just kidding on the last part of previous post. :D

 

"Excuse if any gaffe."

Md Nazmul Ahsan
Programmer (.NET Framework)
CIS, IADCS & DIT

Page 1 of 1 (5 items) | RSS