On Tue, Jan 27, 2015 at 11:46 AM, Brion Vibber bvibber@wikimedia.org wrote:
Another possibility is to shell out to nodejs-based services as an alternative to running them as ongoing web services.
Parsoid currently does a lot of MediaWiki API querying at startup to get the current wiki settings. As a one-off service, this makes it rather sluggish. (We have a `parse.js` test binary that lets you experience this for yourself, if you like.)
I think it's more reasonable to embed v8 into PHP (or vice-versa) an an extension which lets us amortize this startup cost over a number of requests. --scott