Project

General

Profile

Feature #26918

Support redis as a caching backend

Added by Timo Goebel 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

As a user I want to use redis as a caching backend for Foreman.

https://github.com/redis-store/redis-rails


Related issues

Related to Foreman - Feature #26923: Cache for host's fact_hashNew

Associated revisions

Revision fab71a61 (diff)
Added by Timo Goebel 4 months ago

fixes #26918 - add a redis caching backend

Revision a3ef3bb6 (diff)
Added by Ohad Levy 4 months ago

refs #26918 - adds redis support in docker-compose

this uses environment variables support introduced in 47aca03d3f3be870aab808b58480f281863de766
and also fixes a minor typo.

[skips ci]

History

#1 Updated by Ohad Levy 5 months ago

yes please!

#2 Updated by The Foreman Bot 5 months ago

  • Assignee set to Timo Goebel
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6811 added

#3 Updated by Lukas Zapletal 5 months ago

  • Subject changed from support redis as a caching backend to Support redis as a caching backend

The context is we provide foreman_memcache but since Pulp V3 relies on Redis, it would be nice to actually provide session cache in Foreman Core on Redis.

I am interested in this since I would like to explore more options with Redis:

- foreman hooks queuing
- volatile facts store (?)

#4 Updated by Ohad Levy 5 months ago

I would also be interested to add support for websockets events to avoid api polling (e.g. for notifications) basedon redis events.

#5 Updated by Lukas Zapletal 5 months ago

#6 Updated by Lukas Zapletal 4 months ago

  • Fixed in Releases 1.23.0 added

#7 Updated by Timo Goebel 4 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6836 added

Also available in: Atom PDF