4 ms·
I would bet that Wikipedia is more database bound than CPU bound. HipHop would probably help, but not tremendously.
by Perceval 17y ago
I would bet that Wikipedia is more database bound than CPU bound. HipHop would probably help, but not tremendously.
- sailormoon 17y agoYou reckon? I would have thought Wikipedia a textbook case for a great big cache. I would have guessed that the great majority of their views were read-only by unregistered users, with the pages in question following a power law distribution. Hm, would be interested to find out more about that. update: I went and looked it up. They do indeed have a great big cache, many of them in fact. In fact their Amsterdam presence runs only cache! From what I can tell, it seems their bottleneck is actually Apache, and presumably a lot of that is PHP. Interesting presentation here: http://wikimania2009.wikimedia.org/w/index.php?title=Media:Rob_Halsell_-_Wikimania_2009_-_Wikimedia_Operations_%26_Technical_Overview.pdf http://wikimania2009.wikimedia.org/w/index.php?title=Media:R... Also check this out: http://ganglia.wikimedia.org/pmtpa/?gw=fwd&gs=Wikimedia%40http%3A%2F%2Fganglia.wikimedia.org%2F http://ganglia.wikimedia.org/pmtpa/?gw=fwd&gs=Wikimedia%... Go down to the MySQL section. Plenty of headroom, but the Apaches are working hard.