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?
How big is the build?
it's 2.8mb
That's not too bad...maybe you can share your function and what region you're on so we can try to reproduce
My function that makes a network request takes 200ms on cold start
Here are function details, please let me know if anyting else is needed. Region: https://fra.cloud.appwrite.io/v1 Function Endpoint: https://69aa1db5001c5a08bc5c.fra.appwrite.run/ https://cloud.appwrite.io/console/project-fra-67d805a7001d5f9a1bd2/functions/function-sx-img-up
hmm ya mine was in FRA too...
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...