Actions
Refactor #15849
openImprove performance of host global status updates
Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Description
A host's global status is refreshed every time a new report comes in, which could be tens of thousands or more of refreshes every half hour for a large setup using puppet.
This means that the report handling process should be as fast as possible to prevent a bottleneck.
https://github.com/theforeman/foreman/pull/3447#issuecomment-235512793 includes a suggestion for a possible optimization, but more testing and benchmarking should be done to identify other possible bottlenecks.
Updated by Tomer Brisker over 8 years ago
- Related to Bug #14401: Host#refresh_global_status not persisting changes to the db added
Updated by Tomer Brisker over 8 years ago
- Related to Feature #10782: Add global status for hosts added
Updated by Lukas Zapletal over 8 years ago
Take explicit transactions into consideration too as they can improve batch updates.
Actions