Edge Runtime
The Acme edge runtime is where your handlers/ directory actually
runs. It's a managed V8 isolate environment running on more than
forty points of presence worldwide.
Cold start budget
Acme guarantees p99 cold starts under 50ms. Most cold starts
finish in 8–14ms because isolates share the V8 platform and only
recompile your code.
What's available
- Standard web APIs (
fetch,Request,Response,crypto) Bufferandprocess.envpolyfills- Acme SDK helpers (
ctx.db,ctx.log,ctx.cache,ctx.flags) - Time and IO operations forwarded to the regional pool
What's not
Node-only APIs (fs, net, raw process access, native modules)
are intentionally absent. Use Acme's managed equivalents:
Routing
Routes are file-based:
Export a default route(...) from each file. The build step
generates an OpenAPI spec automatically.