Project

General

Profile

Actions

Feature #26923

closed

Cache for host's fact_hash

Added by Lukas Zapletal about 5 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I believe we can improve performance of cache importer by implementing a simple cache of host facts. This is used during import process to determine which facts to add/update/delete as well as in other parts of Foreman. We can simply use Rails cache and store whole hash as JSON. This will work with or without Redis or Memcache however the performance benefit will be big when using shared memory approach.

Cache invalidation will be only via fact importer and fact cleaner as there are no other means of updating facts (user cannot and should not be allowed to do this).


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #26918: Support redis as a caching backendClosedTimo GoebelActions
Actions #1

Updated by Lukas Zapletal about 5 years ago

Actions #2

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF