3 ms·
You can shave even more coldstart time off the golang version by building with `go build -tags lambda.norpc` and deploying it as a custom runtime.
by davidjfelix 5y ago
You can shave even more coldstart time off the golang version by building with `go build -tags lambda.norpc` and deploying it as a custom runtime.
- pugz 5y agoIs that build tag necessary? I should check out what it does, because I've been deploying Go functions to custom runtimes without it. Does it skip some kind of "determine if Go-specific RPC or custom runtime" check? EDIT: I found it. Thanks for the tip! https://github.com/aws/aws-lambda-go/blob/1f782848d89c02bf802657e77fc6c7d2e50ddec2/lambda/entry.go#L64-L66 https://github.com/aws/aws-lambda-go/blob/1f782848d89c02bf80...