I made my Lambda go faster - Go AWS Lambda Tutorial
ฝัง
- เผยแพร่เมื่อ 1 ส.ค. 2024
- At 200 ms, Lambda looks fast already with JavaScript and Python, but is it?
Only few developers know how to make Lambda the fastest (40 ms).
Want an average Lambda?
Go watch an average video.
Want the fastest Lambda?
Watch this video, where I teach you to use Go from scratch.
Read the blog article - learnaws.io/blog/go-aws-lambda
Check out my course and free blogs at learnaws.io
Stay ahead of TH-cam.
Be the first one to know what's cooking in my backyard at -
LinkedIn - / shivamjoker
Instagram - / jokershivam
Discord - dis.creativeshi.com
Twitter - / shivamjoker
Thanks for sharing, that really helps ! Just keep uploading more and more useful and informational videos, thanks !
❤❤❤❤
From this tutorial it looks like it's 1 project = 1 lambda. Do you have some pointers into making this 1 project = many lambdas that share common code?
I thought about creating a folder where I'd store all of the lambdas separated into directories: functions/func1/handler.go, functions/func2/handler.go, each with their own separate package main.
At the same time, I'd create helper packages: utils/utils.go.
Then, I thought about creating either a script or a makefile as you suggested that would package every function and send it off to lambda.
Do you think it's a good idea? Or maybe you have something else you'd recommend?
Yes, 1 project = 1 Lambda will make you end up with fat Lambdas.
It's great that you thought about this in the early stages of your project on having multiple Lambda for different operations.
This is definitely possible with AWS CDK.
Can you shoot me a quick email at shivam@learnaws.io?
I will help you out with your actual usecase.
❤❤❤❤