Description
On a site with a large number of registered users (e.g. wiki.debian.org), saving a page taks a very long time.
Steps to reproduce
- setup a wiki with lots of users (several thousand)
- save a page and see how long it takes
Example
Component selection
- general
With a large number of users, the design of the page subscription system doesn't scale well. Saving a page works well, but moin then scans all the user data files looking for the subscribed_pages data. With thousands of users registered, this can take a very long time; we're seeing > 90 seconds on a wiki with more than 10,000 users.
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 other people think first in terms of a design.
Details
MoinMoin Version
1.9.4
OS and Version
Debian Linux 6.0.4
Python Version
2.7
Server Setup
Apache, WSGI
Server Details
Language you are using the wiki in (set in the browser/UserPreferences)
Workaround
Discussion
Well, the issue is known, but likely not easy to fix. If you want to help improving moin / moin2, feel invited to join us on MoinMoinChat. -- ThomasWaldmann 2012年04月11日 07:27:11
Plan
- Priority:
- Assigned to:
- Status: