A load balancing device and method are provided. The load balancing device includes a processor. The processor is configured to receive a plurality of tasks from a plurality of user devices, each of the plurality of tasks involving a respective one of multiple sets of sessions. The processor is further configured to generate a task ID for each of the plurality tasks using a randomization function, at least one task ID for at least one of the plurality of tasks changing over time responsive to one or more criterion. The processor is additionally configured to allocate the plurality of tasks amongst a set of worker entities such that all the sessions involved in the plurality of tasks received from a respective same one of the plurality of user devices is assigned to a same one of the worker entities in the set.
展开▼