Heroku cameraman creates a file, how can I read it from web dino?

When a user asks the administrator, my Heroku employee creates a report compressed as a 10 MB ZIP file.

A generation takes about one minute, so it is done delayed_job.
Once the generation is complete, where to store the file so the web dynamo can serve it?

  • tmp The folder does not match one speaker, it seems.
  • The free database (5 MB) is not large enough to contain a 10 MB file.

Are there any options besides storing the file in the database and paying for the transition from the database 5 MB to 20 GB?

Note. There is only one administrator, and report generation is a rare event.

+5
source share
1

Amazon S3 ?

+4

All Articles