TLDR Gripe / Practical
AWS Runtimes Compared for Next.js Performance
A comparison was conducted on how a Next.js application performs when hosted on AWS Amplify, Lambda with Function URLs, Lambda Web Functions, and ECS Fargate. The findings indicated that serverless solutions successfully managed traffic up to 200 requests per second without issues. However, a single ECS task with 0.5 vCPU failed under substantial traffic. While Lambda Web Functions showed the best CPU speed, they also had greater memory expenses when idle than standard Lambda.
Read the full story