Hosting execution models

Compare serving files, running functions on demand, and keeping a server running to decide execution and operating responsibilities.

Search within: Hosting execution models

3 field notes

Comparison within this category
ConceptFeaturesAdvantagesLimitationsSuitable situationsCombination conditions
Always-on serverLong-running request listenerDirect runtime controlSupervision and recovery need ownersCustom runtime behaviorExternal durable store and static frontend
Serverless functionsEvent-triggered managed handlersPlatform handles server provisioningRetries and lifecycle need designEvent-oriented APIsStatic frontend plus external storage
Static hostingPrebuilt file deliveryReading needs no app rendererPersonal writes need an APIPublic articles and documentationStatic generator plus server or function