7 ms·
Oh. Yeah, that's not a good use case for lambda. Resizing images, sure, but not handling requests like that Lambda is great for running code in response to eve
by madeofpalk 10y ago
Oh. Yeah, that's not a good use case for lambda. Resizing images, sure, but not handling requests like that
Lambda is great for running code in response to events (like SNS messages or S3 file uploads), but I really don't think it should be used for something like handling web requests. Just because you _can_ do something with a million steps and configuring 50 AWS services together, doesn't mean you _should_.
- DenisM 10y agoExcept that on S3 upload there will be only three attempts to execute Lambda, and then it will give up. I can easily imagine a simple outage that will lead to three errors in a row, and the S3 files goes unaccounted. You're far better of sending out an SNS or an SQS triggered by an S3 object creation event.