Re:Ask HN: How would you build a website that runs long back...
by kohanz on Thursday July 19, 2018 @08:52PM
(#17571642)
Lambda is not intended for long running jobs. It would be costly to do so.
I'm using Lambda to kick off an EC2 worker running a Docker image with AWS Fargate. The EC2 instance only runs for the duration of the job (which lasts from 5 to 20 minutes)
So far I’m pretty happy with it. I minimize the need for maintaining a redis + worker etc