4min chapter

Syntax - Tasty Web Development Treats cover image

Serverless Limitations

Syntax - Tasty Web Development Treats

CHAPTER

Cloudflare and Timeouts

Cloudflare has 10 second or turn 10 millisecond timeout you must reply that's reason Cloudflare is a pared down environment. Scheduled functions which don't run when somebody hits a URL in the browser but they run every 30 minutes or at two o'clock every morning those have a 30 second timeout. Most serverless functions tap out at 10 seconds so if you need to fetch a bunch of data and you need to wait 10 seconds between the two then you have to split it over multiple functions. A lot of people said cold starts were an issue, which is essentially when you don't run a serverless function for a while. It will go to sleep on any server anywhere

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode