A survey on software aging and rejuvenation in the cloud