r/java • • Jan 09 '20

Serverless Web Scraping with AWS Lambda

https://www.scrapingbee.com/blog/serverless-web-scraping-with-aws-lambda-and-java/
218 Upvotes

19 comments sorted by

View all comments

6

u/lovett1991 Jan 09 '20

Did not realise you could use java in serverless! Thought it was for all these fancy JavaScript people.

11

u/dpash Jan 09 '20

You can use Java, and is quite popular, but it's relatively slow start up time makes it slightly less suitable for some platforms as others. Graal's AOT compilation helps reduce start up time to a fraction of Hotspot's startup, but things like reflection can cause issues.

1

u/BobbyTaylor_ Jan 09 '20

Even with the slow startup time, it's very convenient for deploying async jobs without "dealing with a server".