Tag
#performance
BackendPostgreSQL 19’s REPACK (CONCURRENTLY) drops pg_repack’s safety railsBuilt-in repacking saves an extension, but in tests it queued readers behind its swap lock and emptied a table for an older snapshot. pg_repack did neither.BackendPostgreSQL 19’s WAIT FOR LSN leaves half of read-your-writes to youWAIT FOR LSN makes a standby catch up before a read. Which LSN you capture, where the read runs and how long you wait are still the application’s job.BackendREST, GraphQL or tRPC: what each puts on the wire, measuredOne user lookup in three styles: tRPC’s batched GETs hit a 431 at 30 KB, GraphQL answers a failed query with 200, and only REST gives a cache a stable URL.BackendServerless Postgres connections: what each pooling layer protectsA frozen function instance keeps its idle Postgres connections, and a transaction pooler breaks named prepared statements unless it is told to track them.BackendFiltered vector search: where pgvector breaks and what to doOn 100,000 vectors, a 1% filter returned 0.33 of 10 requested rows from pgvector’s defaults. The Postgres planner, not the index, decides when that happens.WebEdge vs. serverless for Next.js after Edge Runtime’s deprecationNext.js 16.3 deprecated the edge runtime everywhere. The real decision left is which platform to deploy to, not which runtime APIs you can call.WebReact Server Components: What Actually Runs Where“Server Components run on the server” is technically true and practically useless. Here’s the actual execution model — what gets sent to the browser, when streaming breaks, and why ‘use client’ is a boundary, not a switch.






