As I understand Herokus Ephemeral filesystem will only allow you write access to a temporary folder. Created files in that folder will be discarded when the dyno the files was created with is stopped or restarted.
What I don't understand is what happens if the dyno is not stopped or restarted? Will files still be discarded after a certain time?
We are currently building a system that generates pdf files and forwards them via mail (or you can download the file). Do I need to remove the pdf files myself after they have been sent/downloaded, or can I rely on them being removed automatically by Heroku?