chrome-aws-lambda

Infrastructure

serverless browser runtime

SHOW HN2018

75points
24comments
#579of 2,155 in 2018
Top 27%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

2 positive, 6 neutral or asking, 1 mixed, 0 critical, out of 9 comments about the project. Thread score +0.12.

Pricing: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Maker reports good scalability and session performance on Lambda

    From 1 comment
    • I also run hundreds of thousands of puppeteer sessions every month, all on Lambda and so far I'm pretty happy with it, from scalability itself to session performance. Granted,…
      alixaxel on HN

Objections

  • Chrome performance on Lambda is poor and cold starts are slow

    From 2 comments
    • I run a ton of Puppeteer jobs (300k in the last month), currently on EC2 and Digital Ocean VM's, mostly due to the subtle difficulties of running Puppeteer on Lambda. Will…
      tnolet on HN
    • What is the advantage of running automated tests as lambda ? Typically when automation tests are run, they are long running processes and lambda execution may not be suitable.…
      sriram_iyengar on HN
  • Lambda's 15 minute limit makes long test suites unsuitable

    From 2 comments
    • What is the advantage of running automated tests as lambda ? Typically when automation tests are run, they are long running processes and lambda execution may not be suitable.…
      sriram_iyengar on HN
    • Lambda have a maximum running time of 15min. Even if you have « Cold Start » it won’t more than a minute for Chrome to be up and running. Meaning you’ll get at least 10 to 14…
      asien on HN

Requests

  • Better rendering of fonts and emojis

    From 1 comment
    • I also run hundreds of thousands of puppeteer sessions every month, all on Lambda and so far I'm pretty happy with it, from scalability itself to session performance. Granted,…
      alixaxel on HN

Questions

  • What is the cold start time of Chromium on Lambda?

    From 1 comment
    • This is fantastic. - I'm just getting started with Lambda so pardon if this is ignorant, but what's the cold start time of Chromium? Or can you warm start it somehow? - Since…
      nailer on HN
  • Can Lambda handle long-running scraping jobs?

    From 1 comment
    • This is fantastic. - I'm just getting started with Lambda so pardon if this is ignorant, but what's the cold start time of Chromium? Or can you warm start it somehow? - Since…
      nailer on HN

Alternatives named

  • Fargate or EC2 spot instances for long tests

    From 1 comment
    • Well, puppeteer can be used for more than test suites (think screenshots, PDF rendering, proxified APIs, ...). But for running long automated tests, I'd probably look into…
      alixaxel on HN
  • Browserless Docker container

    From 2 comments
    • If you keep your Lambda warm, shouldn't you just use something like browserless (https://github.com/joelgriffith/browserless)?
      jpambrun on HN
    • I run browserless Docker container on-prem and it works very well for us. Fire&forget, +1.
      e1g on HN
  • serverless-puppeteer-layers

    From 1 comment
    • Here's another alternative lambda layer containing headless chrome with and puppeteer example: https://github.com/RafalWilinski/serverless-puppeteer-layers
      dschep on HN
  • Google Cloud Functions with native Puppeteer support

    From 1 comment
    • Google App Engine and Google Cloud Functions got native support for Puppeteer a few months ago as well. Let me know what you think if you try it out.…
      thesandlord on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/18617058)