Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Is the API restarted on every request? #117

Closed Answered by SlumberDemon
sam-the-programmer asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, A space app only stays alive for 20s which is its timeout and after that timeout it gets destroyed, this is on a request based system so this only happens when a request is made to that endpoint. This is because deta is a serverless platform.

More on serverless platforms can be found here

https://www.cloudflare.com/learning/serverless/what-is-serverless/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sam-the-programmer
Comment options

@SlumberDemon
Comment options

Answer selected by sam-the-programmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants