Organization of a large number of file downloads

I am launching a website that handles multimedia downloads for one of its main uses. I am wondering what are the best practices or industry standard for organizing a large number of user-uploaded files on a server.

+5
source share
3 answers

I do not think that you will receive any specific answers if you have not specified more context and described what the use case for files is. Like any other technological solution, “best practice” will always be a compromise between various functional and non-functional requirements, and therefore the question requires a much larger context in order to give answers that you can go and act on.

, , :

1) , . , CMS/, , , .

2) . , , . , Transloadit, Zencoder Encoding . , , " ".

3) , . , , . , , paperclip, , , , , , .

4) . , , . , . , . , - , .

, , , , , , , " " :)

!

+3

, , // ( /).

3 .

Eg. Filename = "My_Video_12.mpg"

,

/M/Y/_/My_Video_12.mpg

: "a9usfkj_0001.jpg"

/a/9/u/a9usfkj_0001.jpg

, , . , .

, , , , .

+8

, , , . , , 2 .

, ( FTP, )... Amazon s3 (aws.amazon.com/en/s3/), Rackspace CloudFiles (www.rackspace.com/cloud/cloud_hosting_products/files/) ( Dropbox, ). API / .

, . MySQL, MSSQL , Amazon DynamoDB SimpleSQL, (http-, - ).

, @ebaxt . , , .. , , . , , , .

In the Amazon tutorials section (http://aws.amazon.com/articles/Amazon-S3?browse=1) you can find many articles about this, such as Netflix Transitioning to High Availability Storage Systems , Using the Java Persistence API with Amazon SimpleDB and Petboard: ASP.NET Sample Using Amazon S3 and Amazon SimpleDB

Sincerely.

+1
source

All Articles