3

I was wondering why do we need Redis server for running CKAN.

If needed, why? And How do I configure it with CKAN?

p.s I am running my ckan instance in RHEL7.

Mayank Jain
  • 369
  • 5
  • 21

1 Answers1

5

Update: Redis has been a requirement since CKAN 2.7, when a new system for asynchronous background jobs was introduced which relies on Redis. You can configure the Redis connection using the ckan.redis.url option.

Redis is not required for the current version of CKAN (2.6.2 at the time of this writing), it's not even mentioned in the CKAN 2.6.2 documentation.

However, the upcoming 2.7 release will require Redis for its new system of asynchronous background jobs. Redis will be configured using the new ckan.redis.url option.

Florian Brucker
  • 9,621
  • 3
  • 48
  • 81
  • where can I find the docs explaining what exact background jobs in CKAN Redis support? More explicitly, what processes would fail if Redis was not configured correctly? – Kasia Kulma Jul 05 '21 at 09:52
  • 1
    @KasiaKulma: It has been some time since I've worked with CKAN, but i I remember correctly then by default the background jobs (and hence Redis) are not required. If an extension requires background jobs that is usually listed in the documentation (see, for example, the docs for [ckanext-extractor](https://github.com/stadt-karlsruhe/ckanext-extractor)). – Florian Brucker Jul 05 '21 at 10:40
  • Thanks, @FlorianBruckner, makes sense. Also, it looks like this link answers my question https://docs.ckan.org/en/2.9/maintaining/background-tasks.html – Kasia Kulma Jul 05 '21 at 11:51