node-phantom-simple icon indicating copy to clipboard operation
node-phantom-simple copied to clipboard

Question regarding concurrency

Open jeandat opened this issue 9 years ago • 0 comments

Hi,

By reading your README and phantom documentation, I don't really understand how concurrency is handled and what are the best practices.

I have observed that creating several phantom instances (more than 5) in parallel tend to make phantom crash randomly sooner or later with that kind of error (page is not opened at all) : HeadlessError: Phantom Process died. Some times, phantom hangs indefinitely too.

So I'm wondering what would be phantom limitations in term of concurrency ? And what would be the best way to manage concurrent phantoms ? I don't find many literature about this topic on the net.

Thanks.

jeandat avatar Dec 28 '16 16:12 jeandat