If you know me at all, you know I鈥檓 a big proponent of serverless services when they鈥檙e used for the right workloads. I helped launch a new product that increased usage by over 30x so far this year. Choosing serverless was a big part of why that launch went as smoothly as it did. Given how heavily I use Lambda, I have a vested interest in how its performance and architecture evolve.Initially, Amazon Web Services (AWS) Lambda only supported x86_64-based compute. In 2021, AWS added support for arm64-based Graviton processors, which were advertised as offering equal or better performance at a lower price point and with a smaller environmental footprint.Back in October 2023, AWS published a blog post titled "Comparing AWS Lambda Arm vs. x86 Performance, Cost, and Analysis." This post was a great reference at the time, but nearly two years later, I haven鈥檛 seen many follow-up benchmarks either on the official AWS blog or from the community. I鈥檝e been wondering how things look in 2025 if you apply a similar methodology, which led me to build a more modern, generic benchmark of my own.Going into this, I expected arm64 to be the most performant architecture and Rust to be the most performant runtime, but I wanted actual data to support my assumptions. So, I built a benchmark that runs Lambda functions on both x86_64 and arm64 architectures across CPU-intensive, memory-intensive, and light workloads, using the actively supported AWS runtimes for Node.js, Rust, and Python. While you should always benchmark and evaluate the performance of your real-world production workloads, generic benchmarks are always interesting for investigating general performance trends.In this post, I鈥檒l first highlight the high-level findings. Then I鈥檒l walk through the benchmark design (workloads, runtimes, and configurations), and finally, I鈥檒l dig into the detailed results. Unlike the AWS benchmark mentioned earlier, this project is fully open source and available on GitHub. You鈥檙e welcome to repl...
First seen: 2025-12-02 10:53
Last seen: 2025-12-02 19:55