4 ms·
I have been doing a lot of experiments with Go and Lambda and have an open source boilerplate app here: https://github.com/nzoschke/gofaas https://github.com/nz
by nzoschke 9y ago
I have been doing a lot of experiments with Go and Lambda and have an open source boilerplate app here: https://github.com/nzoschke/gofaas https://github.com/nzoschke/gofaas
This benchmark leaves some room for improvement. With Lambda and X-ray you could really deep dive into where time is spent in a request. Here’s an example trace for a Golang function that does some actual work against KMS and DynamoDB:
https://twitter.com/nzoschke/status/969598630033162240?s=20 https://twitter.com/nzoschke/status/969598630033162240?s=20
One thing I found surprising about the Go support is that the ‘lambda.Start’ helper uses reflection to invoke your go func. This could contribute to some of the cold start time.
- dilap 9y agoYeah that certainly seems...non ideal.