1. An apparatus comprising a processor and a storage to store instructions that, when executed by the processor, cause the processor to perform operations comprising: initialize a first timer associated with a first service agent in a set of service agents implemented by a first host instance, the set of service agents comprising two or more service agents, wherein each service agent in the set of service agents is in a state of one or more states, the one or more states including a sleep state and an active state; transition the first service agent from the sleep state to the active state in response to expiration of the first timer; determine, via a shared cache, that the first service agent is not one of one or more agents in the active state for a first task type based on a data structure in the shared cache that indicates the one or more agents in the active state for the first task type, the shared cache accessible to a cluster of two or more host instances, the cluster of host instances including the first host instance and a second host instance; identify a value of a first timestamp of one or more timestamps in the shared cache based on an association of the first timestamp with the first task type in the shared cache, the first timestamp associated with performance of a task of the first task type by one of the one or more agents in the active state for the first task type and implemented by the second host instance; determine a time elapsed between the value of the first timestamp and a current time, wherein when the time elapsed is above a service threshold, the processor to perform operations comprising set the first service agent as one of the one or more agents in the active state for the first task type in the data structure in the shared cache and update the value of the first timestamp associated with the first task type in the shared cache, and wherein when the time elapsed is at or below the service threshold, the processor to perform operations comprising: identify a number of agents in the active state associated with the second host instance via the shared cache, place the first service agent in the sleep state when a numerical difference between the number of agents in the active state associated with the second host instance and a number of agents in the active state associated with the first host instance is at or below a load difference threshold, and set the first service agent as one of the one or more agents in the active state for the first task type in the shared cache and update the value of the first timestamp in the shared cached when the numerical difference between the number of agents in the active state associated with the second host instance and the number of agents in the active state associated with the first host instance is above the load difference threshold.