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

Show parent comments

1

u/dpash Jan 09 '20

If latency isn't an issue, then, sure Java is fine.

I started on a project with low usage running as multiple Spring microservices on GAE. By the time GAE had started up the request routing proxy and started up the end point service GAE had timed out the request. The time out is 60 seconds. That's not a suitable use of Java on serverless. (I migrated to a GCE instance)

But for backend processing, Java would be fine.

3

u/MakeWay4Doodles Jan 10 '20

You were doing something horribly wrong.

2

u/dpash Jan 10 '20

Gee thanks for your helpful insight based on your excellent knowledge of the specific situation.

3

u/MakeWay4Doodles Jan 10 '20

If you had 60+ second startup times in any situation something was FUBAR.

0

u/dpash Jan 10 '20

Your comment demonstrates your lack of knowledge of the situation. But then how could you know about a system based on two sentences? I didn't say I had a 60 seconds service start up. I said I had multiple interconnected services that combined took more than 60 seconds.