edge-serverless-db-expert

Solid

Expert guide for Serverless & Edge Databases (Neon Serverless Postgres, Cloudflare D1, Turso/libsql, Upstash Redis), cold-start mitigation, and connection pooling / Panduan ahli database Serverless & Edge (Neon, Cloudflare D1, Turso, Upstash).

DevOps & Infrastructure 46 stars 9 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Edge & Serverless DB Expert [English](#english) | [Bahasa Indonesia](#bahasa-indonesia) --- <a name="english"></a> ## English ### Purpose & Overview Best practices for building ultra-low-latency 2026/2027 applications powered by serverless and edge databases. Exploit Neon Serverless Postgres, Cloudflare D1, Turso, Upstash Serverless Redis & Vector. Implement zero-cold-start strategies and HTTP connection pooling. ### Key Capabilities - **Neon & Cloudflare D1**: Serverless autoscaling Postgres with instant branching. Distributed edge SQLite. - **Connection Pooling**: WebSocket/HTTP proxy pooling (Neon Serverless Driver, Upstash Redis over HTTP) for edge workers. Prevent TCP pool exhaustion. - **Embedded Replicas**: Sync edge SQLite read-replicas with central cloud databases for sub-10ms queries. ```typescript import { neon } from '@neondatabase/serverless'; import { drizzle } from 'drizzle-orm/neon-http'; const sql = neon(process.env.DATABASE_URL!); export const db = drizzle({ client: sql }); ``` ### Implementation Checklist - [ ] Use HTTP/WebSocket drivers (e.g., `neon-http`) for querying databases from Edge Workers/Functions. - [ ] Configure connection pooling (PgBouncer, Prisma Accelerate) for standard TCP connections to avoid exhausting database connection limits. - [ ] Use read-replicas near the edge location for global deployments to minimize latency. - [ ] Cache read-heavy queries at the edge using Upstash Redis or Cloudflare KV. ### Example: Upstash Redis Ed...

Details

Author
roedyrustam
Repository
roedyrustam/vibes-plug
Created
3 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category