I'm building an application that allows for large amounts of photo uploads at once, and wanted to know what the best setup would be to tackle this.
This is what I am using so far:
- Jquery File Upload: allows users to drag and drop images
- CarrierWave: Processes images and resizes them with ImageMagick
- Amazon S3: CarrierWave uploads images to Amazon S3 through Fog
- Heroku: for hosting
I'd like to allow users to be able to drag and drop a large amount of images onto a page, and then navigate to other pages while the upload is going on in the background. I'd also like pictures to appear as they finish uploading. I don't want this process to lock up the Heroku dynos, so I probably need to move the work to a background job but I'm not sure what to use for my situation.
What's the best setup for this type of app? What background worker gem should I use? Is Cloudinary a good idea?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…