Re:AWS Lambda pricing now per ms
by CapriciousCptl on Tuesday December 01, 2020 @02:09PM
(#25268628)
They're not easily comparable (I tried using Cloudflare Workers before going back to AWS). Lambda@Edge runs Node or Python. Cloudflare Workers runs V8 with "worker isolates" which has a few more caveats, an imperfect but improving dev experience, and doesn't work with a lot of npm packages.
[ Parent
| on HN ]
What would be really useful for my use case (running browser tests on a schedule) is if Cloudflare workers actually supported running full headless chromium automation in addition to just V8 isolates. Right now I'm using puppeteer/playwright + Lambda, but would love to have more options.
Re:AWS Lambda pricing now per ms
by Normal_gaussian on Tuesday December 01, 2020 @04:55PM
(#25270507)
Headless browser tests seem to be quite far away from the problems cloudflare workers are trying to solve.
https://developers.cloudflare.com/workers/platform/limits
Workers aren't the same as lambdas, they are a super slim JS environments. At 50ms max runtime most browsers won't even start, let alone fetch and process a page.
Re:AWS Lambda pricing now per ms
by ignoramous on Tuesday December 01, 2020 @05:00PM
(#25270568)
CloudWatch Synthetics may fit your usecase? https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitori...
Then there are more specialized browser-testing providers like LambdaTest.com and BrowserStack.com
Re:AWS Lambda pricing now per ms
by chrisweekly on Tuesday December 01, 2020 @10:56PM
(#25273086)
and the venerable WPT (private instances, not the free public one at webpagetest.org)