Edge Runtime
The Edge Runtime is a lightweight JavaScript runtime optimized for low-latency responses at the network edge.
Key Differences
| Feature | Node.js | Edge |
|---|---|---|
| Cold Start | ~250ms | ~50ms |
| APIs | Full Node.js | Web APIs subset |
| Max Duration | Configurable | 30s (Vercel) |
| Size Limit | 50MB | 1-4MB |
| File System | Yes | No |