views:

151

answers:

1

Hello,

I'm building an app to store files on my s3 account. I use Rails 3.0.0beta

A lot of files can be uploaded at the same time, and the cost (from a performance point of view) of an upload is quite heavy, my app will be busy handling uploads all the time!

Maybe a solution is to upload directly to s3, but I still need a submit to my app, at least to store the file's name.

I'm wondering what is the best solution?

+4  A: 

Execute the time consuming operation asynchronously in the background with a solution like delayed job. Compatibility.

clyfe