Hacker News new | ask | show | jobs
by mannyv 974 days ago
If you actually have a consistent/constant load then you don't need to pay for Provisioned Concurrency to prevent cold starts since you technically will have the equivalent with your actual usage.

Also, if you're using Lambda to ingest data consider using one lambda as a dispatcher to SQS and another hanging off that SQS queue for processing. That allows you to control concurrency better since you can set the batch size + concurrency on the SQS trigger.

By doing the above makes your critical path super-fast, because you're doing no processing. That works great if the incoming data needs no response from the back-end.

1 comments

@mannyv Really great points !