English 中文(简体)
Storing files on the Cloud or the FileSystem? [closed]
原标题:
Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 8 years ago.

Simple question, doesn t seem to have been directly asked yet.

What are the benefits to storing files (images/videos/documents/etc) on Amazon S3-and-related vs. on the File System your app is deployed on?

It seems that the general consensus is to store files on the File System over the Database (here and here), but where does the Cloud fit in?

Should all files just be stored on the File System? I really would like to use the Cloud, so there s more of an API and I could get the docs from multiple apps, but I m unsure about the performance tradeoff.

最佳回答

The pros and cons of storing files in "the cloud" IMHO:

The pros:

  1. Availablity: you have your data available anywhere you go (if you have internet access of course)
  2. You can store a relatively large amount of data without having to worry about the storage capabilities of the client computer.
  3. It is easier to share data with other people / to do workgroup.

The cons:

  1. Security: you need to trust that the storage provider will treat your data confidentially and it has strong enough security measures in place to prevent unauthorized access.
  2. Unavailability: you can t continue working if for some reason you temporarily lose connectivity (this can be anyway partially solved by using data caches).
  3. Performance, as you have mentioned, especially with very large amounts of data.

So, bearing this in mind, you decide what s best for your particular project.

问题回答

Konamiman s answer is a good one, I just wanted to add one thing to the pros: some cloud providers have Content Delivery Network integration, like Rackspace with Limelight, which can give end users very fast content delivery.





相关问题
Is There Any Way Without File.ReadAllText?

As I love to develop file I/O applications and my new development platform is Windows Mobile. Is there any way to read all the file, without using File.ReadAllText? Because Windows Mobile doesn t ...

File paths in Java (Linux)

I have created a Java application that loads some configurations from a file conf.properties which is placed in src/ folder. When I run this application on Windows, it works perfectly. However when I ...

How do I create a string using a loop variable in MATLAB?

I have a loop like this: for i=1:no %some calculations fid = fopen( c:\out.txt , wt ); %write something to the file fclose(fid); end I want data to be written to different files like ...

热门标签