[dev] [cvs] commit: genie item.php wishlists.php	genie/lib	Genie.php	base.php genie/po genie.pot sl_SI.po	genie/templates/wishlists	shared.inc
    Chuck Hagenbuch 
    chuck at horde.org
       
    Thu Dec 20 21:11:19 UTC 2007
    
    
  
Quoting Duck <duck at obala.net>:
>> >   Log:
>> >   Don't automatically create wishlist. A lot of users just visits
>> > the module just to look like without actually use it. So create user
>> > default wishlist only when needed (adding item or navigate to
>> > wishlist management)
>>
>> This is contrary to any existing Horde application. Please revert.
>
> I must disappoint here. For example, by just accessing the their wishlist
> genie created 3,075 shares, but only 233 users have actually entered their
> whises. So I would have a lot of shares to be loaded (slower sql, bigger ram
> usage, longer loops). As Genie now is PHP5 I beleive that we should allow
> this approach for Horde4 or even encourage it. I have 58K ram usage just for
> loading the (mostly empty) wishlists. Multiplying form the number of users I
> have online (from 1.000 to 1.500) current approach is really problematic as I
> often fall even in maximum execution time in Shares or DT.
Isn't the solution here the datatree replacement? If you need this  
now, I'd suggest focusing there (Horde_Tree should be expanded with  
backends for storing/reading trees and the current code in renderers  
or Horde_View helpers).
-chuck
    
    
More information about the dev
mailing list