Go on AWS Lambda?

119 views
Skip to first unread message

Leam Hall

unread,
Nov 2, 2021, 9:43:06 PM11/2/21
to golang-nuts
I know Go can go on AWS Lambda, but I'm noob enough not to see how the memory performance value of Go translates to serverless. What are the benefits to using Go on AWS serverless?

Thanks!

Leam

--
Systems Programmer (reuel.net/resume)
Scribe: The Domici War (domiciwar.net)
General Ne'er-do-well (github.com/LeamHall)

Matt Mueller

unread,
Nov 3, 2021, 4:37:39 PM11/3/21
to golang-nuts
I'd say you pay a bit less for the memory you consume. Generally it runs faster than the more common JS or Python serverless functions, so you also pay less there.

I'd argue the main reason to use Go on Serverless is because you'd like to deploy to a Serverless environment and you prefer writing your backend code in Go over the other options.

Two libraries that make deploying Go functions to AWS very easy:
https://github.com/apex/apex (deprecated but still works great)

Hope this helps,
Matt
Reply all
Reply to author
Forward
0 new messages