Ruby on Rails Tuesday, March 27, 2012

I always got scared when my client ask for upload functionality. Basically from what I've read that when user uploaded a file it will an instance of the web server. So if i have one dyno (instance) on heroku, while one user is uploading a big file then the application would not respond to another user request until the file is done ?

I also find a couple of solution like carrierwave-direct which the file is uploaded directly to the storage server (let say S3), then rails can latter process the file. If we are to build like a social networking which involves many user uploading file in the same time, what is the correct approach to the problem?

Ahmy Y

--
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