Difference between revisions of "User:Gordon/Free Geek Wiki Upgrades"
Jump to navigation
Jump to search
(New page: The wiki is slow. Investigate memcache and eaccel, etc.) |
|||
Line 1: | Line 1: | ||
− | The wiki is slow. | + | ==Problem== |
+ | The wiki is slow, especially when saving pages. | ||
+ | |||
+ | ==Solutions== | ||
+ | ===PHP opcode caching=== | ||
+ | Install a PHP opcode cache and give it 32-64MB of RAM. I use [http://en.wikipedia.org/wiki/List_of_PHP_accelerators#Alternative_PHP_Cache APC] on umasswiki.com, APC has the advantage of direct support by Mediawiki. Umasswiki.com is a wiki that gets 200K or more hits a month on a VPS with 360MB of RAM. I gave APC 48MB for its cache and noticed a very significant speed increase after it was installed. Looking at my stats, there is a 99.7% cache hit rate on my installation, and I am running other PHP apps in addition to Mediawiki. So, 48MB should be more than sufficient for APC on Free Geek's Mediawiki virtual server. |
Revision as of 10:49, 4 October 2009
Problem
The wiki is slow, especially when saving pages.
Solutions
PHP opcode caching
Install a PHP opcode cache and give it 32-64MB of RAM. I use APC on umasswiki.com, APC has the advantage of direct support by Mediawiki. Umasswiki.com is a wiki that gets 200K or more hits a month on a VPS with 360MB of RAM. I gave APC 48MB for its cache and noticed a very significant speed increase after it was installed. Looking at my stats, there is a 99.7% cache hit rate on my installation, and I am running other PHP apps in addition to Mediawiki. So, 48MB should be more than sufficient for APC on Free Geek's Mediawiki virtual server.