Only 500 early access spots left

Scale Drizzle to

Global Edge


Networks

Production-ready connection pooling, edge caching, and schema management for serverless Drizzle applications.

Works seamlessly with Bun, Hono, and your existing Drizzle schemas. Zero config required.

Join 2,347 developers • Get API access in 24 hours • No spam, ever

1.2k+ GitHub stars
500+ developers using
<ms
Avg Latency
+
Edge Locations
%
Type Safe
All Systems Operational
%
Uptime (30d)
ms
Avg Latency
M+
Queries/day

Trusted by developers at

Vercel
Cloudflare
Supabase
Stripe
Linear
Replicate
Resend
Upstash
Vercel
Cloudflare
Supabase
Stripe
Linear
Replicate
Resend
Upstash
Vercel
Cloudflare
Supabase
Stripe
Linear
Replicate
Resend
Upstash
Vercel
Cloudflare
Supabase
Stripe
Linear
Replicate
Resend
Upstash

Lightning Fast Performance

Optimized for serverless with industry-leading latency from 200+ edge locations worldwide

ms
P95 Query Latency
From nearest edge location
+
Edge Locations
Global CDN coverage
%
Uptime SLA
Production-grade reliability

Built for Modern Backends

Everything you need to scale Drizzle applications, from serverless functions to global edge networks.

Edge-native Data Proxy

HTTP/Fetch-native proxy built for serverless and edge environments. Avoid TCP connection limits with automatic pooling and intelligent routing to your nearest region.

Schema Registry & Migrations

Track schema state across environments with built-in drift detection. Seamlessly integrates with drizzle-kit for type-safe migrations and automatic versioning.

Instant Preview Databases

Create isolated database branches for every pull request. Test schema changes safely before merging, with automatic cleanup and zero configuration required.

Get Started in 5 Minutes

No code changes. No new syntax to learn. Just faster, more reliable queries.

1

Install Dion SDK

Add Dion to your project with a single command

bun add @dion/db
2

Update Your Import

Replace your Drizzle import - that&apos;s it, no other changes needed

// Change this:
import { drizzle } from 'drizzle-orm/postgres-js'

// To this:
import { drizzle } from '@dion/db'
3

Deploy Globally

Your queries now route through 200+ edge locations automatically

// Zero additional config required 🎉
// Deploy as normal - Dion handles the rest
That's it! Your app now benefits from edge caching, connection pooling, and global routing.
src/index.ts
1import { drizzle } from '@dion/sdk/drizzle'
2import { Hono } from 'hono'
3import * as schema from './db/schema'
4
5const app = new Hono()
6
7const db = drizzle({
8  url: process.env.DION_URL!,
9  apiKey: process.env.DION_API_KEY!,
10  schema,
11})
12
13app.get('/users', async (c) => {
14  const users = await db.select().from(schema.users)
15  return c.json(users)
16})
17
18export default app

Drop-in Replacement
for Drizzle

Dion provides a seamless adapter that works with your existing Drizzle schemas. Just swap your connection string for Dion's proxy URL and get instant access to connection pooling, caching, and global routing.

Zero Config Required

Works with your existing Drizzle schemas and migrations

Full Type Safety

TypeScript inference works exactly as expected

Production Ready

Battle-tested with automatic retries and failover

Built for Serverless Scale

Smart connection pooling and edge caching that actually works

Intelligent Connection Pooling

  • Maintains persistent connections per region
  • Automatic connection recycling and health checks
  • No connection limit errors, ever
  • Handles 10K+ concurrent requests seamlessly
// Handles 10K+ concurrent requests
Pool Size: Dynamic
Connections: Unlimited

Smart Edge Caching

  • Query-level cache with automatic invalidation
  • Respects your schema's relationships
  • Configurable TTL per query pattern
  • Distributed across 200+ edge locations
// Auto-invalidates on writes
Cache Hit Rate: 85%+
Latency Reduction: 90%

Built for Modern Use Cases

Optimized for the most demanding serverless and edge computing scenarios

SaaS Multi-Tenancy

Serve thousands of tenant databases without connection pool exhaustion

  • Database per tenant architecture
  • Automatic connection multiplexing
  • Per-tenant query isolation
  • Cost-effective scaling

Edge Functions & Workers

Deploy serverless functions without worrying about database connections

  • Works with Cloudflare Workers
  • Vercel Edge Functions compatible
  • Sub-20ms cold start queries
  • HTTP/fetch native

Next.js App Router

Perfect for Server Components and Server Actions with automatic caching

  • React Server Components ready
  • Automatic query deduplication
  • Seamless with App Router patterns
  • Streaming SSR support

Dion vs Alternatives

Built for modern serverless applications from day one

Serverless-Native

Dion
PgBouncer
Direct
Proxy

Zero Infrastructure

Dion
PgBouncer
Direct
Proxy

Global Edge Distribution

Dion
PgBouncer
Direct
Proxy

Drizzle Type-Safety

Dion
PgBouncer
Direct
Proxy

Schema-Aware Caching

Dion
PgBouncer
Direct
Proxy

Connection Pooling

Dion
PgBouncer
Direct
Proxy

No Connection Limits

Dion
PgBouncer
Direct
Proxy

Sub-20ms Edge Latency

Dion
PgBouncer
Direct
Proxy

Experience the difference. Start with Dion today.

Join Waitlist →

Integrates with Your Favorite Providers

Works seamlessly with all major PostgreSQL providers

Neon
Supabase
Turso
PlanetScale
AWS RDS
Azure
Railway
Render
Neon
Supabase
Turso
PlanetScale
AWS RDS
Azure
Railway
Render
Neon
Supabase
Turso
PlanetScale
AWS RDS
Azure
Railway
Render
Neon
Supabase
Turso
PlanetScale
AWS RDS
Azure
Railway
Render

Trusted by Developers

Join the growing community building with Dion

Dion made it incredibly easy to migrate our Drizzle app to serverless. Connection pooling just works out of the box.

SC
Sarah Chen
Senior Engineer at TechCorp

The schema registry feature saved us from production disasters. We caught drift issues before they became problems.

MR
Mike Rodriguez
CTO at StartupXYZ

Preview databases for every PR changed our workflow. Testing schema changes has never been easier or safer.

EW
Emily Watson
Lead Developer at DevShop

Frequently Asked Questions

Everything you need to know about Dion

Simple, Transparent Pricing

Clear per-project limits. No confusing pooled hours. Better value than alternatives.

🎉 Early Adopter Bonus: First 1,000 users get 50% off for life

Free

Perfect for hobby projects

$0/ forever
  • 5 projects
  • 10 GB storage per project
  • 500 compute hours/month
  • Unlimited API requests
  • 14-day restore window
  • All 200+ edge locations
  • Community support
Most Popular

Pro

For growing startups

$49/ per month
  • 100 projects
  • 200 GB storage per project
  • 5,000 compute hours/month per project
  • Unlimited API requests
  • 90-day restore window
  • Multi-region writes
  • Priority support (4hr response)
  • Advanced analytics dashboard
57% cheaper than Neon

Business

Enterprise-ready scale

$299/ per month
  • 500 projects
  • 1 TB storage per project
  • 25,000 compute hours/month
  • 99.99% uptime SLA
  • Premium support (1hr response)
  • SOC 2 compliance
  • IP allowlisting
  • Query optimization support

All paid plans include a 14-day free trial. No credit card required to start.
Need custom limits? Contact us for Enterprise pricing.