Tag

postgresql

Every post tagged postgresql.

Cover for A secure NestJS + Prisma API starter, showing the Prisma error filter switch statement in a code editor

Backend & APIs

A secure NestJS + Prisma API starter, piece by piece

A walkthrough of the security layer in my NestJS 11 + Prisma 7 starter: Helmet headers, a CORS allow-list, three-window rate limiting, opt-in CSRF, header-free Pino logs and a Prisma error filter, with the real code and the gaps still to close.

7 min read5 views

pgvector vs Pinecone vs Qdrant cover: recall@10 and latency for 100k OpenAI embeddings, pgvector 0.988 at 4.0 ms and Qdrant 0.985 at 2.6 ms

AI Engineering

pgvector vs Pinecone vs Qdrant: Benchmarked for RAG in 2026

I loaded 100,000 OpenAI embeddings into pgvector 0.8.7 on Postgres 18 and Qdrant 1.19 and measured recall, latency, index build and filtered search, then compared Pinecone's documented limits and pricing. When you need a vector database, and when Postgres is enough.

9 min read2 views