[ckan-dev] redis and cluster installation
dporto
dporto at gmail.com
Wed Aug 30 07:26:08 UTC 2017
Thanks Florian,
your answer is very clarifying for me.
In my installation all nodes share ckan.site_id so I'll have a try
following first option.
Regards,
David
2017-08-29 9:29 GMT+02:00, Florian.Brucker at it.karlsruhe.de
<Florian.Brucker at it.karlsruhe.de>:
> Dear David,
>
> As of 2.7, core CKAN only requires Redis for the new background job system
> (http://docs.ckan.org/en/ckan-2.7.0/maintaining/background-tasks.html), in
> particular Redis contains the task queues.
>
> Each task of these queues will be executed once (not once per instance).
> If your multiple CKAN instances have the same ckan.site_id setting then
> they will share their task queues. That is, tasks enqueued by one instance
> will be seen by all others. However, the core CKAN WSGI process does not
> execute these tasks on its own. Instead, separate worker processes run in
> the background to execute the tasks asynchronously (
> http://docs.ckan.org/en/ckan-2.7.0/maintaining/background-tasks.html#running-background-jobs
> ). You can run the worker process(es) on one or more hosts, which may or
> may not be the ones that also host your CKAN instances.
>
> If your CKAN instances have different ckan.site_id settings then they will
> have separate task queues, so each instance will need its own worker
> process(es), which again may or may not run on the same host.
>
> I hope this gets you started ;)
>
>
> Regards,
> Florian
>
>
> "ckan-dev" <ckan-dev-bounces at lists.okfn.org> schrieb am 28.08.2017
> 17:04:51:
>
>> Von: dporto <dporto at gmail.com>
>> An: CKAN Development Discussions <ckan-dev at lists.okfn.org>,
>> Datum: 28.08.2017 17:05
>> Betreff: [ckan-dev] redis and cluster installation
>> Gesendet von: "ckan-dev" <ckan-dev-bounces at lists.okfn.org>
>>
>> AFAIK redis is mandatory for 2.7.0
>>
>> I want to install this version (2.7.0) in a cluster infrastructure
>> (high availability)
>> Currently, there're several ckan instances (wsgi+solr) sharing the
>> same postgresql database
>>
>> Could anybody tell me how to deal with (redis) ?
>> Redis tasks should be executed in each ckan node or it should be only
>> executed in one node?
>>
>> Thanks in advance
>> David
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
More information about the ckan-dev
mailing list