Re:Startup Heroku (YC W08) Now Hosting 40,000+ Apps
by callmeed on Monday November 23, 2009 @09:07PM
(#958562)
Thanks James. I appreciate the info.
Right now, I prefer to upload to the local filesystem then process and store on S3 via DelayedJob. But I will give this a try.
Are there any plans for add-ons that allow EBS storage (or something along those lines)?
Re:Startup Heroku (YC W08) Now Hosting 40,000+ Apps
by jamesheroku on Monday November 23, 2009 @09:29PM
(#958585)
We aren't planning to provide any additional types of file storage, as we don't believe that the local file system should be used at all in a scalable app, as it creates state at the app server.
We do provide access to /tmp if you need scratch file space for processing (it is not persistent between requests). More info here:
=== ImageMagick
We have a couple thousand apps using ImageMagick/RMagick, and haven't had any reports of missing functions. We are running ImageMagick 6.2.4 (will be updated to 6.3 sometime soon), so you might check that, and also be sure you aren't trying to use custom-compiled options. If you still have trouble, open a ticket and we'll take care of it: http://support.heroku.com/tickets/new
=== Uploads
We also have thousands of apps doing large file uploads. They should be done as described here: http://docs.heroku.com/s3
Specifically, for larger uploads (we recommend for anything bigger than 4MB), it's wise not to run the upload direct to a dyno, tying up one of your app servers and risking a timeout - it's just not a scalable way to do it. A good pattern is to upload direct to S3 instead, as directed at the bottom of the page. We recommend the S3 SWF Upload plugin: http://github.com/GreenAsJade/s3-swf-upload-plugin/tree/mast...