On 23 December 2016 at 09:21, Daniel Jones
Hmm, here's an idea that I haven't through and so is probably rubbish...An idea we've been kicking around is to ensure that app instance
containers never live longer than a certain time (eg. 3, 6, 12 or 24
This would ensure that we'd catch cases where apps weren't able to
cope with being rescheduled to different cells. It'd also strongly
discourage manual tweaks via ssh. It'd probably be useful for people
deploying apps to be able to initiate an aggressive version of this
behaviour to run in their testing pipelines, prior to production
deployment, to catch regressions in keeping state in app instances.
There's a naive implementation in my head that would work fine on
smaller installations by looping through app instances returned by the
API and restarting them.