Closed mikecote closed 2 months ago
To remove contention when claiming tasks (encountering 429 conflicts), we should partition our tasks into various partitions and make each Kibana node claim tasks on a subset of the partitions.
Depends on https://github.com/elastic/kibana/issues/187696.
partition
scheduling
bulkSchedule
murmurhash.v3(id) % 256
Pinging @elastic/response-ops (Team:ResponseOps)
To remove contention when claiming tasks (encountering 429 conflicts), we should partition our tasks into various partitions and make each Kibana node claim tasks on a subset of the partitions.
Depends on https://github.com/elastic/kibana/issues/187696.
Requirements
partition
(number) field to the task manager index (mapped field)scheduling
orbulkSchedule
by usingmurmurhash.v3(id) % 256
with the task ID. See PoC.