Minimising downtime risk with resilient edge computing