Ruby on Rails Tuesday, March 27, 2012

I got this from the heroku documentation


Pass-through uploads

Pass-through uploading sends the file from the user to the application on Heroku which then uploads it to S3.

Benefits of this approach include the ability to pre-process user-uploads before storing in S3. However, be careful that large files don't tie up your application dynos during the upload process.

Large files uploads in single-threaded, non-evented environments (such as Rails) block your application's web dynos and can cause request timeouts and H11, H12 errors. EventMachine, Node.js and JVM-based languages are less susceptible to such issues. Please be aware of this constraint and choose the right approach for your language or framework.

I think that i uses thin underneath the rails application. So does that mean, rails is not suited for file upload ?

Ahmy Yulrizka


On Wed, Mar 28, 2012 at 1:28 AM, Martin Wawrusch <martin@wawrusch.com> wrote:
transloadit.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment