I creating an app that works like an DMS(Document Management System) so my client will be uploading PDF's, XLS's and DOC's.
Heroku has an “ephemeral” hard drive, this means that you can write files to disk, but those files will not persist after the application is restarted. By default Active Storage uses a :local storage option, which uses the local file system to store any uploaded files.
To find approximately how much space is available for your current Dyno type, run the CLI command heroku run "df -h" --size=standard-1x -a APP_NAME , and check the value for the volume mounted at /app .
Alternatives to Heroku's free tiers exist, but none will provide the same experience as Heroku, according to industry experts. In a blog post, Salesforce cited "an extraordinary amount of effort" managing fraud and abuse as the main reason for ending the free tiers, although it did not provide specifics.
You don't want to be uploading anything to Heroku, it has an ephemeral file system which is reset on restarts/deploys. Anything uploaded should be uploaded to a permanent file store like Amazon S3
https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With