[mget] Poll for tasks less frequently when the task load doesn't need it #196584
Labels
Feature:Task Manager
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
When enabling
mget
as the task claim strategy, the task poll interval currently changes from every3s
to every500ms
, creating 6x the requests to Elasticsearch to claim tasks. Lowering the poll interval was added to increase the per-node task throughput. However, when observing the request load to Elasticsearch for small serverless projects that don't run many tasks, the Task Manager performs a lot of requests for little of a return.It would be nice to poll less frequently whenever the task load doesn't need to, say back to
3s
in such situations. We should take the following into consideration when coming up with an approach:Definition of Done
3s
whenever the task load doesn't need a500ms
poll intervalThe text was updated successfully, but these errors were encountered: