Resilience of Stateful IoT Applications in a Dynamic Fog Environment | Synapse