Edge Function (EdgeFn)

A small piece of server code that runs in data centers near the user worldwide, so responses arrive faster than from one central server.

Technically: An edge function is a short-lived, usually stateless compute unit deployed to a globally distributed edge network and run at the point of presence nearest the user. For AI apps, edge functions handle low-latency tasks such as request routing, auth, and streaming LLM proxying, offloading work from origin servers and cutting round-trip times.

Category: Delivery & Operations

Related ideas