3 ms·
I am using PhantomJS for a similar project running on AWS Lambda - running into all sorts of rendering bugs / crashes. Wanted to make the switch to puppeteer,
by hex1848 9y ago
I am using PhantomJS for a similar project running on AWS Lambda - running into all sorts of rendering bugs / crashes. Wanted to make the switch to puppeteer, but as of now it requires a higher version of NodeJS than what Lambda supports. Was in the process of looking at Docker containers for my service, anyone have any thoughts on Heroku vs Docker?
- mrskitch 9y agoHey, I'd love to talk to you more about your issues with getting over to puppeteer. I'm working on a product that separates application infrastructure from Chrome as it's nightmare to try and scale with. I've written somewhat extensively about the deployment approaches here: https://hackernoon.com/more-than-you-want-to-know-about-headless-chrome-31f6b3b06d82 https://hackernoon.com/more-than-you-want-to-know-about-head...
- tonetheman 9y agoThat was a great read!
- mrskitch 9y agoHey, thanks for the kind words, really appreciate hearing that!
- jotto 9y agoWe've been dealing with scale for over a year at https://www.prerender.cloud/docs/api https://www.prerender.cloud/docs/api if you want to try a hosted service: https://service.prerender.cloud/screenshot/https://google.com https://service.prerender.cloud/screenshot/https://google.co... https://service.prerender.cloud/pdf/https://google.com https://service.prerender.cloud/pdf/https://google.com