fra1primarywriteslis1replica38 ms lagiad1replica71 ms lagsin1replica112 ms lagPostgres that follows your users
One primary, read replicas in the regions you pick. Writes route home, reads stay local, and lag is on the dashboard.
Northbeam runs your functions, cache and Postgres in 62 regions. Push to git and your app is live worldwide in under a minute — with a median time to first byte of 18 ms.
$ npm i -g northbeam && nb deploy ⌘C
Some of the teams that deploy on Northbeam
Deploy
Connect a repository and every push builds, migrates your database and rolls out region by region, watching error rates as it goes. If they climb, it stops and rolls back on its own.
$ nb deploy --prod
Northbeam CLI 4.12.0 · linked to acme/storefront
› Uploading 214 files (3.1 MB)done 1.2s
› Installing with npm 11done 6.8s
› Building with Node 24done 14.6s
├ λ /api/cartfunction 38 kB
├ λ /api/checkoutfunction 61 kB
├ ◇ /products/[slug]cached 1 h
└ ○ /static 12 kB
› Migrating Postgres (0007_gift_wrap)done 0.9s
› Rolling out to 62 regionsdone 9.8s
✓ Live at https://storefront.nb.app[38s]
$
Functions
Standard Request in, Response out. Import KV, Postgres, queues and email from one SDK — no connection strings, no cold-start tuning, no YAML.
import { db, kv } from 'northbeam';
export const config = { regions: 'all', cache: 'private' };
export default async function handler(req: Request) {
const user = req.headers.get('x-nb-user');
// Served from the KV replica in the visitor's region
const hit = await kv.get(`cart:${user}`);
if (hit) return Response.json(hit);
const items = await db.query(
'select sku, qty, price from cart_items where user_id = $1',
[user],
);
await kv.set(`cart:${user}`, items, { ttl: 30 });
return Response.json(items, {
headers: { 'x-served-from': req.nb.region },
});
}storefront.nb.app/api/cart[
{ "sku": "MUG-0042", "qty": 2, "price": 1800 },
{ "sku": "TEE-OAT-M", "qty": 1, "price": 3400 }
]Network
Every region runs compute, KV and the edge cache. Twenty-one also host Postgres replicas. New this quarter: Lagos, Querétaro and Manila.
lis1Lisbonclosest4 msmad1Madrid11 mscdg1Paris19 mslhr1London22 msfra1Frankfurt27 msiad1Ashburn79 msgru1São Paulo118 mssin1Singapore161 msMeasured from your browser just now · p50 of 5 pings
Observability
Requests, latency percentiles, errors and cache hits per region, with traces down to the SQL query. Kept for 30 days on Pro, exported to your own warehouse on Enterprise.
9f2c1e · promo email| Region | Requests | p50 | p99 |
|---|---|---|---|
fra1 | 3.92M | 17 ms | 88 ms |
iad1 | 3.41M | 19 ms | 94 ms |
lhr1 | 2.87M | 16 ms | 81 ms |
sin1 | 1.96M | 22 ms | 118 ms |
gru1 | 1.12M | 24 ms | 131 ms |
syd1 | 0.88M | 21 ms | 109 ms |
Platform
Postgres, KV, queues, cron, previews and a firewall come with every project. One bill, one dashboard, one place to look at 3 a.m.
fra1primarywriteslis1replica38 ms lagiad1replica71 ms lagsin1replica112 ms lagOne primary, read replicas in the regions you pick. Writes route home, reads stay local, and lag is on the dashboard.
kv.get('flags:checkout-v2')
→ true1.8 ms · lis1
kv.set('rate:203.0.113.9', 41)
→ okreplicated in 410 ms
A key-value store replicated to all 62 regions. Reads in single-digit milliseconds, writes visible worldwide in under a second.
orders.created1,204 / minPublish from any function, consume with retries and dead-letter built in. Schedules live in northbeam.toml next to your code.
| Preview | storefront-git-fix-cart.nb.app |
| Database | branch pr-482 from main |
| Status | ● Ready in 41s |
Each branch gets its own URL, its own database branch and a comment on the PR. Reviewers click, not clone.
9f2c1eFix cart badge countCurrent4b7a90Add gift wrap optionRoll backe01d3fUpgrade to Node 24Roll backEvery deploy is immutable and stays warm for 30 days. Rolling back is a pointer change — it takes effect worldwide in about a second.
Layer 3–7 protection at every edge, rate limits in one line of config, and bot rules you can test against last week’s traffic.
“We moved checkout from one region in Virginia to Northbeam over a weekend. Customers in Europe and Brazil stopped waiting on the Atlantic, and our p99 went from 640 ms to 92.”
Pricing
Start free. Pro includes generous usage, then you pay per million requests — and you can set a hard spending cap.
For side projects and learning.
$0forever
Start freeFor teams shipping to production.
$20per member / month
Start a 14-day trialFor scale, compliance and SLAs.
Customannual contract
Talk to salesEstimated$40.00
Over the limit? $0.60 per extra million requests · $0.08 per GB · $0.04 per GB-hour. Spend cap set at $150.
Free for personal projects. No credit card, no sales call.
$ npm i -g northbeam && nb deploy ⌘C