Tag: postgres
17 articles
· rag / pgvector
How to build a RAG pipeline with pgvector and Drizzle ORM
Step-by-step tutorial: store embeddings in Neon Postgres, query with cosine similarity via Drizzle ORM, and wire up GPT-4o for answers — all in TypeScript.
· database / postgres
Neon in 2026 — serverless Postgres one year in review
Neon's copy-on-write branching and free tier are the real story. Cold starts and spotty reliability are the honest caveats. A year of production data.
· neon / turso
Neon vs Turso: Serverless Postgres vs SQLite (2026)
Neon wins for Postgres-first teams and Vercel preview environments. Turso wins for read-heavy SQLite workloads — but embedded replicas break on Cloudflare Workers.
· neon / planetscale
Neon vs PlanetScale — serverless Postgres vs serverless MySQL
Neon has the free tier, the better dev branching, and the Postgres ecosystem. PlanetScale has no cold starts, NVMe speed, and enterprise schema governance. They stopped competing in April 2024 when PlanetScale killed its free tier.
· postgres / database
Best Postgres Host for Early-Stage SaaS (2026)
Neon is the best postgres host for early-stage SaaS: free tier, built-in PgBouncer pooling, and database branching. When Supabase or Railway wins instead.
· fly-io / heroku
Migrate from Heroku to Fly.io: Step-by-Step Guide (2026)
Move your Heroku app to Fly.io for ~$4/mo. Step-by-step guide with CLI commands for Postgres import, Redis, file storage, secrets, and scheduled tasks.
· railway / paas
Railway in 2026 — is the simplicity worth the cost?
Railway gets you to production faster than anything else in this category. The unmanaged Postgres and per-vCPU billing change that math at scale. Real numbers.
· pgvector / postgres
pgvector index tuning: HNSW vs IVFFlat in production
The defaults under-deliver at scale. Covers which parameters to change, how to measure recall honestly, and when to move to a dedicated vector database.
· postgres / pgvector
How to Set Up Vector Search with pgvector in Postgres
Add semantic search to Postgres with pgvector v0.8.2 — install the extension, create a vector column, generate OpenAI embeddings, and build an HNSW index.
· deployment / fly-io
Fly.io Review 2026: Six Months Running in Production
Fly.io earns 7.5/10. Best-in-class multi-region deployment at PaaS prices; held back by deployment-API reliability incidents and an immature Managed Postgres.
· prisma / typeorm
Prisma vs TypeORM: Which TypeScript ORM to Pick in 2026?
Prisma 7 reversed the performance gap and cut bundle size by 90%. TypeORM 1.0 finally hit stable after a decade in pre-release. Honest verdict for 2026.
· drizzle / postgres
How to Set Up Drizzle ORM with Postgres and pgvector
Set up Drizzle ORM with Postgres 16 and pgvector. Covers the CREATE EXTENSION step most guides skip and the cosine distance pattern that uses the HNSW index.
· drizzle / kysely
Drizzle ORM vs Kysely: Which Typed Query Tool in 2026?
Drizzle wins on DX, auto-migrations, and first-party edge adapters. Kysely wins on compile-time query validation for complex schemas. Here is which one to pick.
· paas / deployment
Fly.io vs Render — global reach vs. deploy simplicity (2026)
Render wins on deploy speed, Postgres, and CI/CD simplicity. Fly.io wins on global reach and scale-to-zero. Data-driven for solo devs and early-stage teams.
· supabase / firebase
How to Migrate Firebase to Supabase: A Step-by-Step Guide
Migrate Firebase to Supabase without losing Auth, Firestore, or Storage — the right order, 8 blockers to know, and the Analytics gap you need to plan for.
· database / postgres
Neon vs Supabase — Serverless Postgres Compared (2026)
Neon wins on cold starts and edge compatibility; Supabase wins if you need auth, storage, and realtime bundled in. Here is the data to make the call.
· databases / postgres
Postgres vs MySQL 2026: default database for new projects
PostgreSQL is the 2026 default for new projects: 55.6% vs MySQL 40.5%. pgvector for AI, JSONB for flexible schemas. MySQL wins for WordPress and existing teams.