User:YuviPanda/Node on tools
Appearance
Documents some of the gotchas for running nodejs based tools / webservices on toollabs.
NodeJS versions
Our default hosts have a version of nodejs too old and riddled with too many problems to be useful. Our newer trusty hosts have a much better working node. So use trusty.tools.wmflabs.org as bastion to log in (and set up npm, etc with), and add -l release=trusty to jstart or jsub commands.
Memory
NodeJS is somewhat memory hungry, and you probably want to give it at least 2G of VMEM so it can run. This can be done by passing -mem 2G to jstart or jsub
Web Services
We haven't had any nodejs using webservice run on toollabs yet, so if you have one and would like to run it as a web service, let me know and I'll poke at it + write documentation!