主权项 |
1. A computer-implemented method for managing distributed work processing, comprising:
under control of one or more computer systems configured with executable instructions,
executing a first worker coordinator on a first worker coordinator host of a plurality of worker coordinator hosts, wherein the first worker coordinator host is a computer system that executes program code and wherein executing the first worker coordinator includes requesting a lock record for a logical group, the logical group corresponding to a group of workers, each worker executed as a computer process on a worker host that is a computer system that executes program code;executing a second worker coordinator on a second worker coordinator host of the plurality of worker coordinator hosts, wherein the second worker coordinator host is a computer system that executes program code and wherein executing the second worker coordinator includes requesting the lock record for the logical group, and wherein the second worker coordinator host is independent of the first worker coordinator host;indicating, in the lock record, which of the first worker coordinator or the second worker coordinator is granted the lock record to be a controlling worker coordinator;determining, using a determining worker, that a worker coordinator is not active for the logical group, wherein the determining worker is a worker of the logical group that determined that no worker coordinator is active for the logical group; andinvoking a worker coordinator using the determining worker. |