Scale Drizzle to Global Edge
Networks
Global Edge
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.
Trusted by developers at
Lightning Fast Performance
Optimized for serverless with industry-leading latency from 200+ edge locations worldwide
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.
Install Dion SDK
Add Dion to your project with a single command
bun add @dion/db
Update Your Import
Replace your Drizzle import - that's it, no other changes needed
// Change this:
import { drizzle } from 'drizzle-orm/postgres-js'
// To this:
import { drizzle } from '@dion/db'Deploy Globally
Your queries now route through 200+ edge locations automatically
// Zero additional config required 🎉 // Deploy as normal - Dion handles the rest
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 appDrop-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
Smart Edge Caching
- Query-level cache with automatic invalidation
- Respects your schema's relationships
- Configurable TTL per query pattern
- Distributed across 200+ edge locations
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
| Feature | Dion(You are here) | PgBouncer | Direct Connection | Generic Proxy |
|---|---|---|---|---|
| Serverless-Native | ||||
| Zero Infrastructure | ||||
| Global Edge Distribution | ||||
| Drizzle Type-Safety | ||||
| Schema-Aware Caching | ||||
| Connection Pooling | ||||
| No Connection Limits | ||||
| Sub-20ms Edge Latency |
Serverless-Native
Zero Infrastructure
Global Edge Distribution
Drizzle Type-Safety
Schema-Aware Caching
Connection Pooling
No Connection Limits
Sub-20ms Edge Latency
Experience the difference. Start with Dion today.
Join Waitlist →Integrates with Your Favorite Providers
Works seamlessly with all major PostgreSQL providers
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.”
“The schema registry feature saved us from production disasters. We caught drift issues before they became problems.”
“Preview databases for every PR changed our workflow. Testing schema changes has never been easier or safer.”
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.
Free
Perfect for hobby projects
- 5 projects
- 10 GB storage per project
- 500 compute hours/month
- Unlimited API requests
- 14-day restore window
- All 200+ edge locations
- Community support
Pro
For growing startups
- 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
Business
Enterprise-ready scale
- 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.