Getting Started
Architecture overview
Control plane, data plane, and isolate limits for Relay Edge.
Relay Edge runs isolated V8 isolates at points of presence (PoPs). A control plane schedules deployments; a data plane serves traffic without leaving the region unless you opt into multi-region replication.
Photo by Growtika on Unsplash.
Request path
- DNS resolves to the nearest healthy PoP.
- TLS terminates at the edge; mTLS optional for private APIs.
- The isolate executes with a hard memory and CPU budget.
- Logs and traces stream asynchronously to your sink.
Isolation model
| Resource | Limit | Notes |
|---|---|---|
| Memory | 128 MB | Configurable up to 512 MB |
| CPU time | 50 ms soft | Hard kill at 100 ms |
| Wall time | 30 s | Streaming responses extend this |
| Outbound sockets | 6 concurrent | Shared across subrequests |
Tip
Design for failure isolation. A single slow upstream should not exhaust the PoP connection pool—use timeouts and circuit breakers.
