Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing cold start times of over 5 seconds, sometimes even more than 10. The function is really simple, just returning a hardcoded JSON response, but the cold start is still slow. Any tips on how to reduce the cold start time?
TL;DR
Developers looking to reduce cold start time in Go functions despite a basic JSON response should check for any dependencies causing delays, optimize the code, consider using a different runtime or framework, and look into serverless providers that may offer faster cold start times.