[ckan-dev] Bootup performance

Ian Ward ian at excess.org
Tue Apr 7 12:39:52 UTC 2015


On Tue, Apr 7, 2015 at 8:13 AM, Alex Corbi <a.corbi at gmail.com> wrote:
> Hi Ian,
>
>> Web start up time should not depend on the number of datasets, and should
>> be measured in second> s not minutes.
>
> OK, this is key information. Because the Issue we are having is definitelly
> depending on the number of datasets stored.
>
>> Are you running anything else during start up?
>
> Sometimes we have seen a need for restarting the SOLr container as well
> (running docker stop solr; docker stop ckan; docker start solr; docker start
> ckan; ). AS mentioned, we have the components of the architecture (
> porstgresql, solr, ckan) separated in different Docker containers. What do
> you feel in general about using docker for deploying CKAN?

I love using docker for deploying CKAN :-)  I even wrote a tool for
developing and deploying CKAN with docker
https://github.com/boxkite/datacats

>> Have you tried disabling plugins in your ini file? Have you made any
>> changes to > ckan?
>
> Here is the list of plugins that we currently have enabled on the
> production.ini file:
>
> ckan.plugins = stats text_preview recline_preview pdf_preview datastore
> datapusher resource_proxy multilingual_dataset multilingual_group
> multilingual_tag odm_theme pages googleanalytics geojson_preview wms_preview
>
> Being odm_theme, our own developed theme for UI customization and adding
> some logic, you can browse the code here:
> http://github.com/OpenDevelopmentMekong/ckanext-odm_theme Do you see
> something weird on the implementation?

Not immediately. Does disabling the plugins affect start up time for you?

Ian



More information about the ckan-dev mailing list