Various implementation of serverless lamda.
- Pre-requisites: serverless framework and maven.
- If its java project, go to its directory & run
mnv clean package
.
- Then run
sls deploy
.
- Congrats you have deployed your serverless function.
Cold start of various lambdas
Lambda |
Cold start in ms |
Java with no framework |
[ 5362, 5368, 5300, 5559, 5128 ] |
Java with Spring boot |
[] |
Nodejs with no framework |
[ 21.35, 10.25 ] |
Execution time of warm lambda
Lambda |
Executable time in ms |
Java with no framework |
[ 2.95, 0.96, 1.06, 16.83, 0.98 ] |
Java with Spring boot |
[] |
Nodejs with no framework |
[ 0.48, 0.40, 6.02, 0.47, 0.44 ] |