DEV Community

Discussion on: Building a HTML to PDF API using Go and wkhtmltopdf

Collapse
rafaelgfirmino profile image
Rafael Firmino

Chromium/Puppeteer for my application is very slowly in lambda. In furst time 6 or 9 seconds for generate one pdf.

Collapse
immannino profile image
Tony Author

I can believe it! We have a puppeteer web crawler that we run daily in a lambda to audit our sales funnel's and it is fairly chunky. I think the docker container for it is at least 1.3 GB. Our wkhtmltopdf one is ~90mb tops. We haven't tried running a lambda image with wkhtmltopdf yet but it would be a good test.