Always-on server
Process lifetime differs from data lifetime.
Open field noteExplore Hosting execution models.
3 field notes
| Concept | Features | Advantages | Limitations | Suitable situations | Combination conditions |
|---|---|---|---|---|---|
| Always-on server | Long-running request listener | Direct runtime control | Supervision and recovery need owners | Custom runtime behavior | External durable store and static frontend |
| Serverless functions | Event-triggered managed handlers | Platform handles server provisioning | Retries and lifecycle need design | Event-oriented APIs | Static frontend plus external storage |
| Static hosting | Prebuilt file delivery | Reading needs no app renderer | Personal writes need an API | Public articles and documentation | Static generator plus server or function |