https://bugzilla.wikimedia.org/show_bug.cgi?id=38136

--- Comment #2 from badon <[email protected]> 2012-07-08 01:20:22 UTC ---
The refresh script testing we did was all done at a nice value of 19. It only
takes a few seconds at most to process each page, with the typical time being
about 0.5 to 1.5 seconds. You may be correct that the problem is at the
database level, but I'm not sure about that.

I don't think any one feature of SMW or SMW page is responsible. The MediaWiki
job queue will have similar effects, but it provides a --maxtime option that
ends the run if it takes too long. I typically use --maxtime to give 1/3 to 2/3
of each minute to the job queue (if there are jobs to run), depending on the
visitor traffic load. For a casual SMW refresh, I am using a 10 second to 20
second delay after processing each ID, so the load is negligible over the 1 or
2 weeks that it runs.

Let me know if there's anything I could do better with my patch, for the next
time I do one. I like commenting code in detail so it is self-documenting.
Would it be alright if some of my patches are just code comments?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to