Giter Site home page Giter Site logo

aws-lambda-runtimes-performance's Introduction

AWS Lambda Performance comparison for all runtime

This repo contains full code and all scripts for the most popular AWS Lambda flow: images

Supported runtimes x86_64 and ARM

  • Java 11
  • NodeJs 14.x
  • Python 3.9
  • Go 1.17.7
  • Ruby 2.7
  • .Net 3.1
  • Custom runtime with GraalVM 22.0
  • Custom runtime with Rust 1.58.1

How to build project

The project has CI/CD using GitHub Actions, please check GitHub workflow

To build it manually you just need

  • Docker
  • SAM
  • AWS account with S3 bucket in us-east-1 Region (update existingS3Bucket with your bucket value)
  • run build.sh from the root

Contribution

I’m not an expert in all these languages and I’m happy to see MR in the repo with performance improvements.

I’m going to support this repo and run the performance test every 3 months. I believe in opensource collaboration :)

aws-lambda-runtimes-performance's People

Contributors

aleksandr-filichkin avatar bilalq avatar meziantou avatar miles-po avatar mooyoul avatar normj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws-lambda-runtimes-performance's Issues

.NET 6 +

I would suggest the same test with .NET 6.x

Cold Start performance of Node.js runtime can be improved

Requiring aws-sdk package (which is AWS SDK V2) will load entire AWS Service Clients (e.g. CloudWatch, EC2, ECS, Kinesis, S3, ... etc.), not only DynamoDB Client.

You will see better start-up performance if you load DynamoDB client only (e.g. const DynamoDB = require('aws-sdk/clients/dynamodb').

Also, AWS Javascript SDK V3 is currently in GA. AWS Javascript SDK V3 is modular, and can be optimized using bundlers to eliminate dead codes, reducing its size, and also reduces startup-performance (Also it's faster than using individual service client!). See https://aws.amazon.com/ko/blogs/developer/modular-packages-in-aws-sdk-for-javascript/ for details.

AMD64 vs ARM?

Do you have any intention of running these benchmarks with ARM processors?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.