Project

General

Profile

Actions

Feature #31184

closed

Optimize Puppet report format payload

Added by Lukas Zapletal about 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman script foreman.rb generates Puppet report on Puppet Server, so we have control on how the report looks like: https://theforeman.org/manuals/2.1/index.html#3.5.4PuppetReports

Sending all log lines in array of hashes is extremely inefficient (both memory and CPU), in the end this will be converted to simple JSON table (time, level, message). Array of three-element arrays would be much more efficient, if not simple plaintext depending on the results of actual performance testing.

This is just a tracker, chances are that the new database model will be so efficient that JSON parsing will no longer be an issue.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #31142: New report model and import/view mechanismNewLukas Zapletal

Actions
Actions

Also available in: Atom PDF