Parsoid/Round-trip testing

General setup
Coordinator on parsoid.wmflabs.org (ports 8001 for web and 8002 for internal API), about 50 clients on various parsoid-* VMS (36 cores as of early Dec 2012). Clients run code from the shared /data/project/parsoid/ repository, and commit suicide when the revision of that checkout changes.

Both the coordinator and the clients are managed/restarted by supervisord. Config in /etc/supervisor/conf.d/{rtserver,rtclient}.conf. The client config is based on the sample config in js/tests/client.

To {stop,restart,start} all clients on a VM (not normally needed): supervisorctl stop all supervisorctl restart all supervisorctl start all

Updating the code
on parsoid.wmflabs.org, as root:

cd /data/project/parsoid/js/api ./runserver.sh

Clients commit suicide when they notice that the code has changed, and supervisord restarts them based on the new code.

TODO / wish list
See this section in our TODO.