-
Notifications
You must be signed in to change notification settings - Fork 568
Open
Labels
Description
For other languages on Lambda, a single deployment artifact (JAR or zip file) can have multiple handlers functions in them. Multiple Lambda functions can use the same deployment artifact, with different behavior based on the handler selected in the Lambda function configuration. For Go, this isn't possible. lambda.Start(handler interface{})
takes a single function. This means a separate binary has to be built for every function, and since Go builds are statically linked, there's no speedup when functions share code. This has caused users create custom build systems like Fender has to parallelize their builds.
This would be in concert with the Lambda service supporting handler function specification for Go functions in the API.
piotrkubisa, lisp-ceo, terrywarwar, franciscocpg, karl-barbour and 34 moremaslick and 0x2b3bfa0