Fault-tolerant scheduling with dynamic number of replicas in heterogeneous systems | Synapse