How about generating a mailman list for each page and then subscribing just 
that list address to each page's alert list ? 


----- "Steve McIntyre" wrote: 
> Package: python-moinmoin 
> Version: 1.9.3-3~bpo60+1 
> Severity: important 
> Tags: upstream 
> We've been experiencing performance problems for a while on 
> wiki.debian.org, which uses moin. Specifically, page saves take a 
> *very* long time, on the order of 90 seconds on a system that is 
> otherwise performing well. I've debugged into this and I've found the 
> problem: the code that works out which users need notifying about page 
> changes. 
> We've currently got 10,686 registered users on wiki.debian.org. strace 
> shows that moin is opening the user data file for every one of those 
> users in turn to check the subscribed_pages array. That takes a long 
> time! I've verified this is the problem - hacking saveText to disable 
> the notification code reduces the page save time from ~90 seconds to 
> ~3 seconds. 
> This is clearly an upstream issue - it's a scalability bug in moin's 
> design. This area needs fixing in some way - maybe add a cache in 
> front of the user lookup here, or store the subscribed_pages 
> information differently. I might be able to help with coding this, but 
> I'd want to see what upstream plans might be first. 

-- 
Ean Schuessler, CTO 
[email protected] 
214-720-0700 x 315 
Brainfood, Inc. 
http://www.brainfood.com 

Reply via email to