Jump to: navigation, search

Heat/Blueprints/ImproveAPIPolling

< Heat
Revision as of 22:06, 7 January 2014 by Jason Dunsmore (talk | contribs) (Created page with "Blueprint https://blueprints.launchpad.net/heat/+spec/improve-api-polling In all of the following graphs, the x-axis indicates the Nth iteration of the task manager job in ch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Blueprint https://blueprints.launchpad.net/heat/+spec/improve-api-polling

In all of the following graphs, the x-axis indicates the Nth iteration of the task manager job in check_create_complete.

Current API polling

Intervals Current polling intervals

Running sum Current polling running sum

~600 polls for a 10-minute resource creation.

Proposed API polling

Intervals Proposed polling intervals

Running sum Proposed polling running sum

~50 polls for a 10-minute resource creation.

Options that can be passed to TaskRunner.__call__() include:

  • Starting interval (default 1).
  • Interval increase factor (default 1.1)
  • Interval maximum (default 20)

The graphs above used the default options.