Large file download for a Rails project

Posted by Horace Ho on Stack Overflow See other posts from Stack Overflow or by Horace Ho
Published on 2010-05-11T04:02:04Z Indexed on 2010/05/11 4:04 UTC
Read the original article Hit count: 249

One client project will be online two months later. One of the requirements changed is to support large files (10 to 15MB per RAW camera file, expected 1000 to 5000 files download per day) download worldwide for their customers. The process will be:

  • there is upload screen via paperclip to the rails local public folder
  • a hourly task to upload to web storage (S3?)
  • update the download url from paperclip url to the web url

Questions:

  1. is there a gem/plug-in for this purpose?
  2. if no, any gem/plug-in for S3 to recommend?

Questions about the storage provider:

  1. is S3 recommended?
  2. or other service to recommend?

The baseline is: the client's web server does not and will not have the bandwidth to handle the downloads.

Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about paperclip