News for hackers. Stuff that matters.
Re:Show HN: Scaling PhantomJS With Ghost Town by m0th87 on Wednesday May 28, 2014 @11:25PM (#7814525)
We developed the same thing: https://github.com/dailymuse/phantom-cluster

It was used for prerender [1] for some time, before being changed so that clustering happened at the HTTP worker level.

Scaling PhantomJS is no walk in the park. There's a lot of duct tape to get it to communicate with node.js, and it's easy for a memory leak to occur.

[1] https://github.com/prerender/prerender

Re:Show HN: Scaling PhantomJS With Ghost Town by gcb0 on Thursday May 29, 2014 @02:22AM (#7815010)
you are all doing it wrong... we use phantomjs on its own. and run the test code in it. so its analogous to loading the target page, and then running your code/test in a browser dev console. you take care of concurrency and retries in your preferred shell. this also allows things like integration with Makefiles, etc.

using it inside node is just masochism.