Puppeteer performance in AWS Lambda Docker containers

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • aws-lambda-docker-research

    Testing cold-start and performance for custom docker images, launching chrome as an example workload

  • You can check the full code in the git repo. It contains all flags needed to launch the browser and AWS X-Ray integration to measure performance.

  • There is a special tool to test AWS Lambda images locally. It's called AWS Lambda Runtime Interface Emulator (RIE). You have two options: include RIE in your image or install it locally. We don't need it in the production image, so let's choose the second option. We will download binary locally and mount it to our image if we need to test it.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • chrome-aws-lambda

    Chromium Binary for AWS Lambda and Google Cloud Functions

  • For example, we can use chrome-aws-lambda binaries. They were built to fit Lambda layers, so the size is much smaller than regular chrome installation.

  • AWS-Lambda-Docker

    Puppeteer running in Docker on AWS Lambda

  • Example of Puppeteer on Lambda with a Docker Container https://github.com/VikashLoomba/AWS-Lambda-Docker

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts