[ansel] gallery ordering issue

Ben Chavet ben at chavet.net
Fri Apr 2 08:42:04 PST 2004


>> I did it this way for performance reasons.  It would definitely be 
>> easier to do a parent-child relationship, but getting a list of 
>> galleries that way takes a huge performance hit.  This is especially 
>> true when you start to get a lot of images.
>
> Ah, yes, I remember this conversation now. I don't need this to happen,
> but one
> thing you could do is build a

build a...?

>> I'd still like to see better performance, and I have also considered 
>> the option of breaking ansel away from the horde_datatree table.  
>> Even if it were to use something like ansel_datatree and 
>> ansel_datatree_attributes.
>
> There's been a TODO in horde/docs/TODO to make this generically possible for
> quite a while now. It's a good idea. I'd prefer not to go to a completely
> custom driver, though.

I agree.

>
>> It was not nearly as robust or as flexible as ansel, which is why I 
>> abandoned it, but it was much more responsive when getting the 
>> gallery lists and photos in the galleries.
>
> Not saying that we can't or shouldn't get better, but there are always
> going to
> be tradeoffs there. :)

Exactly.  Ansel will never be able to match the performance my old photo album
had.  That's something I can deal with, though, because ansel's feature set is
much larger.


--Ben


More information about the ansel mailing list