Edge Functions

Serverless at the edge

Deploy TypeScript/JavaScript functions globally. Built-in database access, environment variables, and real-time logs. Zero cold start.

Features

Functions that scale automatically

Write code, deploy, done. No infrastructure management. Auto-scaling from zero to millions of invocations.

TypeScript & JavaScript

Write functions in TypeScript or JavaScript. Full type safety, modern ES modules, and npm package support.

Global Edge Deployment

Functions deploy to edge locations worldwide. Sub-50ms response times for users everywhere.

CLI Deploy

Deploy with one command: zmesh functions deploy. Or push via the dashboard code editor.

Real-Time Logs

Stream function logs in real-time from the dashboard. Debug issues as they happen.

Environment Variables

Securely store secrets and config. Access them in your functions via ctx.env. Manage from dashboard or CLI.

Auto Scaling

Functions scale from zero to handle any load. Pay only for what you use. No provisioning required.

Cold Start0ms
Regions3 edge
Invocations500K/mo free
P50 Latency<10ms
How It Works

Write, deploy, scale

From code to global production in three steps. No infrastructure to manage.

Write your function

TypeScript or JavaScript with full type safety. Access database, env variables, and npm packages directly in your function.

1

Deploy with one command

Run zmesh functions deploy and your function is live on 3 edge regions worldwide in seconds. No build pipelines needed.

2

Auto-scale globally

Functions scale from zero to millions of invocations automatically. Sub-50ms response times, zero cold starts, pay only for usage.

3
One-Command Deploy

Deploy in seconds, not hours

Write your function, run one command, and it's live globally. Real-time logs stream instantly to your terminal.

One-command deployment
Real-time log streaming
Environment variable injection
Zero cold starts
Request Flow
~12ms total
Client
Edge CDN
λ
Function
Response
DNS Resolution1ms
Edge Routing2ms
Function Execution7ms
Response Serialization2ms
Function Metrics
LIVE
Invocations (24h)
12,847
P50 Latency
8ms
Error Rate
0.12%
Invocations (last 12h)
12h agonow
Recent Invocations
200hello-world8msap-south-1
200process-payment23msus-east-1
200send-email45mseu-west-1
200resize-image120msap-south-1
Live Metrics

Real-time function observability

Monitor invocations, latency, error rates, and per-function performance in real-time. Animated charts update live as requests flow in.

Live invocation counts
P50/P99 latency tracking
Error rate monitoring
Per-region performance breakdown
FREE TIER INCLUDED

Deploy your first function

Free tier includes 25 functions and 500K invocations/month.