Task contention reduction via policy-based selection
AssigneeAmazon Technologies, Inc.
InventorsSandeep Kumar, Anirudha Singh Bhadoriya
Life of this patent
Estimating the term…
Loading patent…
AssigneeAmazon Technologies, Inc.
InventorsSandeep Kumar, Anirudha Singh Bhadoriya
Estimating the term…
A system implements task contention reduction via policy-based selection. Tasks waiting to be performed are indexed in a task data structure that groups the tasks based on the resources to which the tasks pertain. Workers request batches of tasks for the workers to perform. A scan cycle includes building multiple batches of tasks by scanning the task data structure for a requesting worker. A policy (e.g., random or some other form of optimization) determines where the scan cycle starts in the data structure. Each batch of tasks is delivered to a worker along with a token that keeps the state of the scan cycle (e.g., where the scan cycle started, and where the next scan to build the next batch within the scan cycle begins). The worker returns the token with the next request for the next batch and the next batch is built based on the token's state information.
A system, comprising:
A method, comprising:
A non-transitory computer readable storage medium storing program instructions that, when executed by a computer, cause the computer to implement a worker to:
Dependencies are inferred from the claim text.