[ckan-dev] FileStore

Alex (Maxious) Sadleir maxious at gmail.com
Wed May 14 01:18:14 UTC 2014


We use NFS in production and the only issue was some race conditions
with the FileStore file upload in older versions of CKAN (file was
uploaded but an error could occur if the file wasn't yet visible on
the next server to request that path - inserting a small delay
resolved this).
CKAN version 2.2 does file upload in a single API call and we have no
timing or performance issues with that.

On Wed, May 14, 2014 at 10:42 AM, Vitor Baptista
<vitor at vitorbaptista.com> wrote:
> Hi Fabrizio and Nigel,
>
> I have a different experience. I was able to set up a similar pair of
> servers using NFS, which should make it transparent for CKAN. I'm not sure
> about the performance implications of doing it, though. I feel it might
> suffer with big files, but I haven't tested.
>
> Cheers,
>
>
> 2014-05-13 7:24 GMT-03:00 Fabrizio Fornari <ckanappoggio at gmail.com>:
>
>> Ok. Thank you for replying!
>>
>>
>> On Tue, May 13, 2014 at 6:31 AM, Nigel Babu <nigel.babu at okfn.org> wrote:
>>>
>>> No, it's not. At least not easily. The filestore needs to access a local
>>> disk.
>>>
>>> Nigel Babu
>>> Developer, Open Knowledge
>>>
>>>
>>> On 12 May 2014 21:54, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> I am installing ckan on different machines: 1) the front-end; 2)
>>>> postgresql + solr. While doing so, I started wondering if it may be
>>>> convenient/possible to store also the uploaded files on the second machine.
>>>> Is that possible?
>>>>
>>>> Thank you!
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
>
> Vítor Baptista
>
> Developer  |  http://vitorbaptista.com | LinkedIn | @vitorbaptista
>
> The Open Knowledge Foundation
>
> Empowering through Open Knowledge
>
> http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter
>
>
> _______________________________________________
> 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