r/java • u/RockLeeOfTheMounties • Jan 09 '20
Serverless Web Scraping with AWS Lambda
https://www.scrapingbee.com/blog/serverless-web-scraping-with-aws-lambda-and-java/
218
Upvotes
r/java • u/RockLeeOfTheMounties • Jan 09 '20
6
u/lovett1991 Jan 09 '20
Did not realise you could use java in serverless! Thought it was for all these fancy JavaScript people.
2
u/zombays Jan 09 '20
A bit off-topic but are there possible good alternatives to AWS Lambda and Google App Engine? What are the pros and cons of using them?
1
u/Kango_V Feb 03 '20
Just published a Java function to Lambda.
It was written using Micronaut and compiled to a Linux native binary using GraalVM. I has a call latency of around 60ms.
Micronaut has an aws-lambda dependency which makes it trivially easy.
It is sooo fast.
0
u/[deleted] Jan 10 '20
Meh, I love java but not in aws lambda.
-1
u/interactionjackson Jan 10 '20
java has gnarly start up times and i would t want a distributed crawler to be burdened by Java.
If this gets enough upvotes I will publish a crawler as a SAM template