Lambda Performance Comparisons

With Go and DotNet 2

on Serverless Framework

Yun Zhi Lin

  • Usage

  • Performance

Usage

What happened to this guy?

Lambda Go

Serverless Create

  • Serverless Framework release 1.26
  • follow PR #4669Or use Marciej's template: 
sls install \
    -t https://github.com/mthenw/serverless-golang-template \
    -p myservice
sls create -t aws-go -p myservice

Serverless Install

  • Use Marciej's template: 

Lambda DotNet 2.0

Serverless Create

  •  Serverless Framework 1.26.0, PR #4656
sls install \
    -t https://github.com/yunspace/lambda-platform-perf-comparison/tree/master/fsharp2 \
    -t fsharp2

sls install \
    -t https://github.com/yunspace/lambda-platform-perf-comparison/tree/master/csharp2 \
    -t chsarp2
sls create -t aws-csharp -p myservice

sls create -t aws-fsharp -p myservice

Serverless Install

  •  Use the my perf test templates for now:

Performance

Code

https://github.com/yunspace/lambda-platform-perf-comparison/​​

(fork of @theburningmonk)

  • C# 1.0, 2.0
  • F# 1.0, 2.0
  • Go 1.x, 1.x + UPX
  • Java8
  • NodeJS 4.3, NodeJS 6.10
  • Python 2.7, 3.6

Results?

I will publish a separate blog article on the conclusion

Lambda Performance across all Runtimes

By Yun Zhi Lin

Lambda Performance across all Runtimes

With Go and DotNet 2 on Serverless Framework

  • 1,660