Hacker News new | ask | show | jobs
by simplify 3419 days ago
> Not an option on Heroku; Heroku will restart dynos as part of deployment, again losing state.

Do heroku's custom buildpacks not allow you to prevent restarting the dyno?

3 comments

Not to my knowledge, Heroku claim to restart dynos on any release: https://devcenter.heroku.com/articles/dynos#automatic-dyno-r...
The buildpacks only define the content of the container, and what processes within that containter it can run.

On deploy, the containers are all being replaced.

Plus heroku regularly restarts dynos, I believe on a daily basis.