Then I deoloyed an ECS task with ALB and got something like Has anybody gotten sub-10ms latencies with Lambda Https functions?
Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
31–40 of 60 posts
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#32Would be interesting to add a cold start + "import boto3" benchmark for Python as importing boto3 takes forever on lambdas with little memory. For this scenario I only know this benchmark but it is from 2021 https://github.com/MauriceBrg/aws-blog.de-projects/tree/mast...
if imports are slow one should probably look into pre-compiling .pyc files into the Lambda bundle
Source: I'm a former AWS employee.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#33I would not be surprised that Rust be faster than Python, but looking at the code of his Benchmarks, I'm not sure that it really means anything. For example, the "light" test will do calls to "dynamodb". Maybe you benchmark python, or you benchmark the aws sdk implementation with different versions of python, or just you benchmark average dynamodb latencies at different times of the day, ... And, at least for Python,…
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#34Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#35Can someone tell me why there isn't almost any laptop with Linux and ARM? Is it more efficient than x86 though
How is the bootloader/peripheral compatibility on the non-SBC ARM systems these days? Can you plug in a boot disk on different machine and expect it to just work? My main problem with ARM is that many manufacturers act as if they're special little snowflakes and deserve to have their custom patched kernel/bootloader/whatever.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#36One of the easiest hack to reduce your AWS bills is to migrate from x86 to arm64 CPU. Performance difference is negligible, and cost can be upto 50% lower for arm machines. This is for both RDS and general compute (EC2, ECS). Would recommend to all.
How is the performance difference negligible? In my experience, for the same generation of hardware, ARM64 performance is better than the AMD64 one. AFAIK ARM64 is around 20% cheaper, not sure where you got the 50%.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#37What I don't get is why is it that Node is dog slow . Seriously it seems borderline unusable. In terms of perf, Node has a pretty snappy JIT, and seems to perform OK in the browser, but this seems like something's not right here. ~200ms requests even in the light case are on the very brink of barely acceptable. On the other hand, Python performs very well, but it's alarming to see it gets slower in every release by a…
This is in line with my experience using anything written in Node.js
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#38This is benchmarking `hashlib.sha256` isn't that normally OpenSSL's heavily hand optimized assembly implementation, certainly isn't something written in Python?
I think that's the CPU benchmark rather than the python benchmark -- and comparing CPU ARM64 vs x86_64 seems worthwhile.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#39What I don't get is why is it that Node is dog slow . Seriously it seems borderline unusable. In terms of perf, Node has a pretty snappy JIT, and seems to perform OK in the browser, but this seems like something's not right here. ~200ms requests even in the light case are on the very brink of barely acceptable. On the other hand, Python performs very well, but it's alarming to see it gets slower in every release by a…
> What I don't get is why is it that Node is dog slow. Seriously it seems borderline unusable. This is in line with my experience using anything written in Node.js
In my experience, Node perf is 'okay' - not stellar but a simple express/js handler certainly doesn't take 100ms. This sounds 10x-100x slower than running something similar on a dedicated instance.