Project

General

Profile

Actions

Refactor #20024

closed

Improve performance of rhsm fact importer

Added by Shimon Shtein almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Today it takes ~600ms for each host, even when the facts are the same.
This is caused by wrong handling of hierarchy - the non-leaf levels are deleted and then re-added on each facts upload.


Related issues 1 (0 open1 closed)

Related to foreman-tasks - Bug #19951: updating host can cause large values to get passed via dynflow envelope, slowing task processingRejected06/07/2017Actions
Actions

Also available in: Atom PDF