A typical web request can be handled in three tiers.
| Tier | Where it runs | Typical runtime | Good at |
|---|---|---|---|
| Edge | Many locations close to users | V8 isolates with Web APIs | Fast decisions about requests and responses |
| Regional serverless | One or a few cloud regions | Containers or microVMs with a full language runtime | Business logic next to the database |
| Origin server | Your own servers or containers | Any runtime, long-lived processes | Heavy, stateful or long-running work |
Netlify's explainer quotes a short definition from Salma Alam-Naylor: edge functions are serverless functions run at the Edge. The same article explains the difference from earlier serverless platforms: serverless functions have historically been available only in broad geographic regions, while edge functions run in the location closest to the user's request.
The origin is the third tier. Imperva's CDN guide defines the distinction: origin servers contain the original version of your website while edge servers host cached copies of some of its content. Edge functions extend that model. Instead of only serving cached files from the edge, the CDN now runs code there.



