Hello,
I'm working on migration to HipHop at Wikia (we run on MediaWiki
1.16.2 with tons of our custom extensions and skins).
At this point I'm testing and benchmarking all different use cases and
so far I didn't run into any serious problems - however there were
memory corruptions when using DOMDocument (Preprocessor_DOM) under
heavy load, but it is already fixed.
Btw. I had to apply this patch
http://pastebin.com/qJNcwp99 to
MediaWiki code to make it work (commenting preg_replace is just
temporary change).
Very likely in our approach we will mostly target HipHop (not Zend)
with future development, since we want to switch our developers to
work with HipHop as well.
Inez
On Sun, Mar 27, 2011 at 8:21 PM, Tim Starling <tstarling(a)wikimedia.org> wrote:
I think we should migrate MediaWiki to target HipHop
[1] as its
primary high-performance platform. I think we should continue to
support Zend, for the benefit of small installations. But we should
additionally support HipHop, use it on Wikimedia, and optimise our
algorithms for it.
In cases where an algorithm optimised for HipHop would be excessively
slow when running under Zend, we can split the implementations by
subclassing.
I was skeptical about HipHop at first, since the road is littered with
the bodies of dead PHP compilers. But it looks like Facebook is pretty
well committed to this one, and they have the resources to maintain
it. I waited and watched for a while, but I think the time has come to
make a decision on this.
Facebook now write their PHP code to target HipHop exclusively, so by
trying to write code that works on both platforms, we'll be in new
territory, to some degree. Maybe that's scary, but I think it can work.
Who's with me?
-- Tim Starling
[1]
https://github.com/facebook/hiphop-php/wiki/
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l