Re:A bank runs serverless with PHP and AWS Lambda
by ndriscoll on Wednesday November 01, 2023 @06:09PM
(#38106028)
2 cores and 4GB RAM should have no problem handling thousands or tens of thousands of concurrent requests on the JVM. Lambda's documented concurrency maximum is "tens of thousands"[0], which means an 8GB m6g.large or ECS instance can probably handle larger bursts than lambda can. If you had extreme bursts, you'd also be having almost every request hit a cold start.
[0] https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-...