Project

General

Profile

Actions

Bug #29423

closed

Default task polling is too frequent at scale

Added by Adam Ruzicka about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1817728

The default polling back-off algorithm can still cause an overload of polling during long running tasks:

def poll_intervals
[0.5, 1, 2, 4, 8, 16]
end

when there are large numbers of tasks, you can get 'storms' of status checks during long running tasks.

Updated and expanded array has shown improvement in working conditions when allowing longer tasks a greater time period of checking in:

[0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024]

We are going to update the default array to the above value and offer a configuration setting so it can be tuned to specific environments.

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman-tasks/pull/524 added
Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases foreman-tasks-1.1.1 added
Actions #3

Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/foreman-tasks/pull/546 added
Actions #5

Updated by Adam Ruzicka almost 4 years ago

  • Subject changed from Default task polling is too frequent at scale to Default task polling is too frequent at scale
  • Fixed in Releases foreman-tasks-2.0.0 added
  • Fixed in Releases deleted (foreman-tasks-1.1.1)
Actions

Also available in: Atom PDF