[ckan-dev] vdm patches
David Read
david.read at okfn.org
Mon Jan 10 12:40:53 UTC 2011
I've also released the new changes as vdm 0.8 to pypi.
David
On 10 January 2011 12:29, David Read <david.read at okfn.org> wrote:
> David and Seb,
>
> These look like excellent improvements to vdm.
>
> FYI I've created some tickets for them (although this isn't strictly necessary):
> http://ckan.org/ticket/898
> http://ckan.org/ticket/899
> http://ckan.org/ticket/900
> http://ckan.org/ticket/901
>
> I've double checked they pass the vdm and ckan tests and merged them
> into mainline vdm now.
>
> David
>
>
> On 9 January 2011 20:45, David Raznick <kindly at gmail.com> wrote:
>> Hello
>>
>> I have made 3 vdm patches. The first one is critical, the other two are
>> less so but nice to have.
>>
>> 1. Every change to every object is being stored in memory, which could add
>> up to quite a lot of memory. This fixes it by making sure the objects are
>> in a weakref. https://bitbucket.org/kindly/vdm/changeset/8d5f91db641f
>>
>> 2. There is no need to re-query the database to detect if there has been a
>> changed as sqlalchemy knows this. It saves about 15 secs in the ckan tests.
>> https://bitbucket.org/kindly/vdm/changeset/0050d023ca4e
>>
>> 3. There are still some intermittent errors due to objects not having a
>> revision_id, if you save an object at the same time as the revision. We add
>> the uuid earlier to fix this.
>> https://bitbucket.org/kindly/vdm/changeset/0050d023ca4e.
>>
>> The patches are all in their own branch in my fork.
>>
>> Cheers
>>
>> David
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>>
>
More information about the ckan-dev
mailing list