How to improve TikiWiki performance for high-volume & high availibility sites
(Cached)
Performance
This page is the general hub to coordinate everything related to performance in TikiWiki.Table of contents
SUMO
Of all the Tiki-powered sites, one stands out in terms in terms of load. The Firefox SupportTodo
Add an new admin panel (tiki-admin.php?page=performance) for all the settings specific to performanceDone in Tiki4 Two settings in tiki-admin.php?page=search ("Ignore individual object permissions" and "Ignore category viewing restrictions") should be copied over.-
Make a section "Features known to slow downDone in Tiki4-
PhplayersmenuDone in Tiki4
-
-
- Filtering Best Practices picking the right filters improves performance
- Port all performance related enhancements to Tiki
Related:
- http://www.afup.org/templates/forumphp2008/resumes/137-scaling_mozilla.pdf
- http://www.baohx.com/extras/zendcon/Gordon-ZendCon%202008.ppt
- SUMO Tiki from mozilla code repository.
- Architecture Suggestions From Mozilla
Patches: please help to merge
- make querying of category perms only happen once for each access, instead of each perm
- do not translate english
Should be option in performance admin panel
- cache in memory whether in daylight saving, also default to pacific time always
but note correction make timezone adjustment work again (should not be that much more load, and useful for forum
- Make use of Smarty cache
Please read for context: https://bugzilla.mozilla.org/show_bug.cgi?id=425614
- cache locale date strings
done in 2.0 (sept_7)
- cache userlink results in memory
- Reported posts page never loads
- cache get_object_permissions_for_user results
done in 2.0 (sept_7)
- flip order of include_path so as to reduce disk access
done in 2.0 (sept_7)
- Improve performance of forums
but note:
- part of this involves removing the "next/prev thread" feature which might still be needed, so need to merge in to optionality.
- Also note correction fix number of forum threads to list not being observed, and filter by time not working
See https://bugzilla.mozilla.org/show_bug.cgi?id=424676
for more info.
- Sorry that all these patches got merged as one svn commit (it should have been separate)
- Allow non-logged in users to function without PHP sessions (to reduce session overhead) and to enable use of forward proxy caches (This whole thing will have to be an optional feature)
- note need to ajaxify captcha
- Add TikiWiki cache for preferences when not logged in
- how to allow for setting of cache-control headers and custom php session id for users that are not logged in for forward proxy-handling
- Note related Add TikiWiki cache for preferences when not logged in
- Note need to have language/locale setting in the URL (otherwise proxy caching will not give predictable results). The way to handle this still needs to be cleaned up. Patches are all over the place right now.
More information coming about:
using pdo instead of adodb(Done for 4.0)- using eaccelerator
- using memcached ( Zend_Cache_Backend_Memcached
deserves a look.)
Please also see:
- Content delivery network
- Yslow
- Memory consumption
- Tracker Performance
- load balancing
- cacheing
- ADOdb Lite
- etc
Wishlist
Table of contents
Open
Pending
| Rating | Subject | Priority | Category | Created | |
|---|---|---|---|---|---|
| Long table truncated when presented as (cached) | 6 | Bug: Error | 2006-08 | ||
| Allow Tracker item rating to be seen or voted through PluginTracker and PluginTrackerList | 7 | Bug: Error Feature request | 2007-06 | ||
| Tracker item list not refreshing after changes | 6 | Bug: Error | 2007-08 | ||
| Minify and cache js and css files, with an admin panel to refresh | 9 high | Feature request Patch | 2009-08 |
Closed
| Rating | Subject | Priority | Category | Created | |
|---|---|---|---|---|---|
| Add memcached support, with admin panel | 8 | Feature request Patch | 2009-08 | ||
| New "cache" section or admin panel | 8 | Feature request | 2007-01 | ||
| svn: Working copy 'temp/cache' is missing or not locked | 7 | Bug: Error Community projects | 2008-07 | ||
| Wiki cache & plugins: WYSIWYCA problem when admin visits the page (and creates the cache) | 6 | Bug: Error | 2007-06 | ||
| Wiki cache & plugins: WYSIWYCA problem when admin visits the page (and creates the cache) | 6 | Bug: Error | 2007-08 |
Also
https://sourceforge.net/tracker/index.php?func=detail&aid=902503&group_id=64258&atid=5068462010-01-26 profiling on Tiki trunk (Tiki5)
Lessons learned from
- LPH did some profiling on several DBs that were sent in and proceeded to several performances commits.
- Lessons
- Most problems caused by poor server config
- Use new minified CSS (Tiki5) and JS (Tiki4)
- PHP Layers menus is not cached. Use css menu for performance
- Plugin sharethis causes flicker (could be better implemented)
Todo
Easy
Add option-> CDN for jQuery & jQueryUI:Long term
Speed
Compression
High Performance
Cache
Cacheing
Profiling
Scalability
High availability
Contributors to this page: marclaporte
,
sept
,
nkoth
and
koth
.
Page last modified on Sunday 28 February, 2010 12:35:41 UTC by marclaporte
.
Sidebar
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
Last Changed Items
- Users can't deleter his own account
- Add New User - Gen Password - Validate By Email is Broken in 4.1 and 4.2
- Email notification don't work except if "watch minor" is checked
- ssl_error_rx_record_too_long when using "Require Secure (HTTPS) login" (CPANEL self-signed cert.)
- Interactive (in-context) Site identity editor

Last Comments