State management for task queues
First Claim
1. A non-transitory computer-readable medium storing instructions, the instructions comprising:
- one or more instructions that, when executed by one or more processors, cause the one or more processors to;
identify a group of tasks to be performed by a pool of worker devices,the group of tasks including a state manipulation task to be performed by every worker device, included in the pool of worker devices, to modify a state of every worker device, andthe group of tasks including a plurality of ordinary evaluation tasks,each ordinary evaluation task, included in the plurality of ordinary evaluation tasks, to be performed by a single worker device included in the pool of worker devices;
identify an order associated with performing the group of tasks,the order indicating that the plurality of ordinary evaluation tasks are to be performed before the state manipulation task;
determine that a final ordinary evaluation task, included in the plurality of ordinary evaluation tasks, is to be performed by a worker device included in the pool of worker devices,the determination being based on the order and information associated with performing at least one other ordinary evaluation task included in the plurality of ordinary evaluation tasks;
send, to the worker device, information associated with performing the final ordinary evaluation task; and
send, to another worker device included in the pool of worker devices, information associated with performing the state manipulation task based on sending the information associated with performing the final ordinary evaluation task and before receiving an indication that the final ordinary evaluation task has been performed by the worker device.
1 Assignment
0 Petitions
Accused Products
Abstract
A client device may receive information that identifies tasks to be performed by worker devices. The tasks may include at least one task that is to be performed by all worker devices, and may include at least one task that is to be performed by one worker device. The client device may identify, based on the information that identifies the tasks, an order and dependencies associated with performing the tasks. The client device may determine a task, of the tasks, to be performed by a work device, of the worker devices, based on the order and the dependencies. The client device may send, to the worker device, information associated with performing the task, and may receive, from the worker device, an indication that the task has been performed. The client device may determine, based on the order and the dependencies, another task to be performed by the worker device.
-
Citations
20 Claims
-
1. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors, cause the one or more processors to; identify a group of tasks to be performed by a pool of worker devices, the group of tasks including a state manipulation task to be performed by every worker device, included in the pool of worker devices, to modify a state of every worker device, and the group of tasks including a plurality of ordinary evaluation tasks, each ordinary evaluation task, included in the plurality of ordinary evaluation tasks, to be performed by a single worker device included in the pool of worker devices; identify an order associated with performing the group of tasks, the order indicating that the plurality of ordinary evaluation tasks are to be performed before the state manipulation task; determine that a final ordinary evaluation task, included in the plurality of ordinary evaluation tasks, is to be performed by a worker device included in the pool of worker devices, the determination being based on the order and information associated with performing at least one other ordinary evaluation task included in the plurality of ordinary evaluation tasks; send, to the worker device, information associated with performing the final ordinary evaluation task; and send, to another worker device included in the pool of worker devices, information associated with performing the state manipulation task based on sending the information associated with performing the final ordinary evaluation task and before receiving an indication that the final ordinary evaluation task has been performed by the worker device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A method, comprising:
-
identifying, by a device, a group of tasks to be performed by a pool of worker devices, the group of tasks including a state manipulation task to be performed by every worker device, included in the pool of worker devices, to modify a state of every worker device, and the group of tasks including a plurality of ordinary evaluation tasks, each ordinary evaluation task, included in the plurality of ordinary evaluation tasks, to be performed by a single worker device included in the pool of worker devices; identifying, by the device, an order associated with performing the group of tasks, the order indicating that the plurality of ordinary evaluation tasks are to be performed before the state manipulation task; determining, by the device, that a final ordinary evaluation task, included in the plurality of ordinary evaluation tasks, is to be performed by a worker device included in the pool of worker devices, the determination being based on the order and information associated with performing at least one other ordinary evaluation task included in the plurality of ordinary evaluation tasks; sending, by the device and to the worker device, information associated with performing the final ordinary evaluation task; and sending, by the device and to another worker device included in the pool of worker devices, information associated with performing the state manipulation task based on sending the information associated with performing the final ordinary evaluation task and before receiving an indication that the final ordinary evaluation task has been performed by the worker device. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A device, comprising:
one or more processors to; identify a group of tasks to be performed by a pool of worker devices, the group of tasks including a state manipulation task to be performed by every worker device, included in the pool of worker devices, to modify a state of every worker device, and the group of tasks including a plurality of ordinary evaluation tasks, each ordinary evaluation task, included in the plurality of ordinary evaluation tasks, to be performed by a single worker device included in the pool of worker devices; identify an order associated with performing the group of tasks, the order indicating that the plurality of ordinary evaluation tasks are to be performed before the state manipulation task; determine that a final ordinary evaluation task, included in the plurality of ordinary evaluation tasks, is to be performed by a worker device included in the pool of worker devices, the determination being based on the order and information associated with performing at least one other ordinary evaluation task included in the plurality of ordinary evaluation tasks; send, to the worker device, information associated with performing the final ordinary evaluation task; and send, to another worker device included in the pool of worker devices, information associated with performing the state manipulation task based on sending the information associated with performing the final ordinary evaluation task and before receiving an indication that the final ordinary evaluation task has been performed by the worker device. - View Dependent Claims (16, 17, 18, 19, 20)
Specification