AWS Lambda battle: x86 vs ARM(Graviton2)


Test scenario

  • NodeJs (14.x)
  • Python (3.9)
  • Go(1.x)
  • Ruby(2.7)
  • .Net(3.1)
  • Java (11)
  • Rust(1.54.0)
  • GraalVM(21.3)
The main flow

Cold start

Cold start
Cold start per runtime

Warm state

DotNet ARM vs x86
Go comparison
GraalVM ARM vs x86
NodeJS ARM vs x86
Python ARM vs x86
Ruby ARM vs x86
Rust ARM vs x86
Java ARM vs x86

All Runtime together

all runtimes ~12k iterations
128 MB (15k iteration for single lambda instance)
256MB (15k iteration for single lambda instance)

Migration effort





Java, AWS expert

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Configuring gRPC with spring boot

Programming languages that you shouldn’t learn anymore

Why You Should Learn How to Code, Even If You Don’t Want to Become a Programmer

Photo of a person taking notes on a desk.

Passive Income Streams Coders Should Have In 2022

Explore the possibilities with hundreds of domain extensions — {link} -

How Deploy App to iOS Device with archive file

These are the software engineering programming languages that Google uses

Simulating Play: The Math Of “Left Center Right”

A robot playing with a 3D puzzle.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aleksandr Filichkin

Aleksandr Filichkin

Java, AWS expert

More from Medium

Misunderstanding of Serverless (AWS)

Supercharge Your Lambda Deployments With Kubernetes

How AWS Lambda Works Under The Hood

Can You Mix Multiple Programming Languages in the Same AWS SAM Application?

A whisk and mixing bowl, a play off of “mixing languages”