---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=neon&tag=performance"
---

# Posts

Filtered by topics: Performance engineering, source: Neon.

Posts 1–24 of 43, page 1 of 2, newest first.

## 2026-11-28

- [The Postgres mistakes we all still make](https://swe.quest/articles/the-postgres-mistakes-we-all-still-make-63314d194ac77b85.md): Neon · 2026-11-28 · Medium · 15 min read · PostgreSQL, Performance engineering, Databases
  Five common Postgres mistakes all eventually show up as connection pressure: opening a connection per request, appending to JSONB columns, holding transactions open across external API calls, nightly bulk DELETEs, and unused indexes.

## 2026-11-05

- [Lakebase Postgres is built on object storage, but 99.99999% of reads never touch it](https://swe.quest/articles/lakebase-postgres-is-built-on-object-storage-but-99-99999-of-reads-never-touch-66e3f7227042e0f9.md): Neon · 2026-11-05 · Medium · 7 min read · PostgreSQL, Storage engines, Caching, Storage systems, Performance engineering
  Lakebase Postgres stores durable history in object storage but keeps it off the read path through tiered caching.

## 2026-09-09

- [Improving Lakebase Postgres Compute Cache on Neon, Part 1](https://swe.quest/articles/improving-lakebase-postgres-compute-cache-on-neon-part-1-96696f73ade727a0.md): Neon · 2026-09-09 · Hard · 9 min read · PostgreSQL, Caching, Performance engineering, Memory management, Virtualization
  On large fixed-size Lakebase Postgres computes, Neon now disables its NVMe-backed local file cache and sets shared buffers to 75% of DRAM (up from a 1 GB cap), backed by explicit 2 MB HugeTLB pages provisioned through host, hypervisor and guest VM.

## 2026-08-20

- [Open-weight models are fast on Neon AI Gateway. Here's why](https://swe.quest/articles/open-weight-models-are-fast-on-neon-ai-gateway-here-s-why-a042a513966cd27f.md): Neon · 2026-08-20 · Medium · 7 min read · Inference & serving, LLMs, Performance engineering, Caching, AI agents
  Neon AI Gateway serves open-weight models through Databricks Foundation Model APIs, so it gets that stack's inference optimizations: continuous batching with PagedAttention-style KV-cache paging and overlapped prefill/decode, a TensorRT-LLM backend with fused and GroupGEMM kernels for MoE, tensor parallelism, FP8 quantization, and per-GPU tuning.

## 2026-07-22

- [Debug your Postgres from the terminal: a tour of \`neon inspect db\`](https://swe.quest/articles/debug-your-postgres-from-the-terminal-a-tour-of-neon-inspect-db-388ae9813e34917e.md): Neon · 2026-07-22 · Medium · 10 min read · PostgreSQL, Observability, Developer tools, Performance engineering, Replication
  \`neon inspect db\` adds fourteen read-only Postgres diagnostic subcommands to the Neon CLI, each running one curated query against Postgres statistics and catalog views (table/index sizes, bloat, unused indexes, seq scans, long-running queries, locks, pg\_stat\_statements outliers and calls, vacuum stats, replication slots, subscriptions).

## 2026-05-07

- [Everyone gets faster writes: We turned off FPW's in Neon](https://swe.quest/articles/everyone-gets-faster-writes-we-turned-off-fpw-s-in-neon-60d0cd25f29077e7.md): Neon · 2026-05-07 · Hard · 7 min read · PostgreSQL, Storage engines, Performance engineering, Distributed databases
  Neon disabled Postgres full-page writes fleet-wide because its stateless compute streams WAL to a Paxos safekeeper quorum and has no local disk pages that can tear.

## 2026-03-27

- [Zero-Downtime Patching Part 1: Prewarming](https://swe.quest/articles/zero-downtime-patching-part-1-prewarming-370c0c7ccc8bd249.md): Neon · 2026-03-27 · Medium · 4 min read · PostgreSQL, Deployment, Performance engineering, Caching
  Neon and Databricks Lakebase avoid the post-restart performance hit of cold Postgres caches by prewarming a replacement compute before planned maintenance.

## 2025-12-01

- [Improving DNS performance with NodeLocalDNS](https://swe.quest/articles/improving-dns-performance-with-nodelocaldns-01d6f54219a60f0f.md): Neon · 2025-12-01 · Medium · 6 min read · DNS, Kubernetes, Performance engineering, Caching, Networking
  Neon deployed node-local-dns as a DaemonSet across its EKS clusters running hundreds of thousands of ephemeral Postgres pods, moving the 95%+ cache-hit DNS traffic off the network and onto each node.

## 2025-09-26

- [Implementing a Kalman Filter in Postgres to Smooth GPS Data](https://swe.quest/articles/implementing-a-kalman-filter-in-postgres-to-smooth-gps-data-fd49bdbe30ebf6c9.md): Neon · 2025-09-26 · Medium · 5 min read · PostgreSQL, Maps & geospatial, SQL, Algorithms, Performance engineering
  A Kalman Filter can run entirely inside Postgres to smooth noisy GPS tracks, with per-device state (estimate plus covariance matrix) kept in a devices table and a kalman\_step SQL function applying predict/update steps that can use HDOP or speed.

## 2025-09-25

- [Postgres 18 Is Out: Try it on Neon](https://swe.quest/articles/postgres-18-is-out-try-it-on-neon-e6a6990754f0f792.md): Neon · 2025-09-25 · Medium · 8 min read · PostgreSQL, Performance engineering, Schema migrations
  Postgres 18 is available in preview on Neon's Free plan, and production upgrades should wait until it leaves preview.

## 2025-09-16

- [Easier Postgres fine-tuning with online\_advisor](https://swe.quest/articles/easier-postgres-fine-tuning-with-online-advisor-fe9a8f6b2841792d.md): Neon · 2025-09-16 · Medium · 4 min read · PostgreSQL, Performance engineering, Query engines
  online\_advisor is a Postgres extension that hooks into the executor (like auto\_explain) to watch the live workload and recommend indexes, extended statistics, or prepared statements without applying anything automatically.

## 2025-07-15

- [Recent Storage Performance Improvements at Neon](https://swe.quest/articles/recent-storage-performance-improvements-at-neon-e29e2d9302293c1f.md): Neon · 2025-07-15 · Hard · 8 min read · PostgreSQL, Storage engines, Performance engineering, Distributed databases, Storage systems
  Neon shipped a set of storage-layer optimizations across Safekeepers and Pageservers.

## 2025-07-11

- [Separation of storage and compute without a performance tradeoff](https://swe.quest/articles/separation-of-storage-and-compute-without-a-performance-tradeoff-25a1b45d403d8baf.md): Neon · 2025-07-11 · Easy · 6 min read · PostgreSQL, Caching, Performance engineering, Serverless, Storage systems
  Neon's Local File Cache (LFC) sits between Postgres shared buffers and Neon's remote multi-tenant page storage.

## 2025-06-13

- [Comparing Native Postgres, ElasticSearch, and pg\_search for Full-Text Search](https://swe.quest/articles/comparing-native-postgres-elasticsearch-and-pg-search-for-full-text-search-b83c564af59c02c3.md): Neon · 2025-06-13 · Medium · 9 min read · Search, PostgreSQL, Performance engineering
  Native Postgres full-text search (tsvector/tsquery with GIN indexes) breaks down at scale because ranking by ts\_rank must score every matching row and lacks BM25, fuzzy matching and per-field relevance.

## 2025-05-30

- [Delayed Start Compute Operations – Triggering Event](https://swe.quest/articles/delayed-start-compute-operations-triggering-event-db99144a3f6489a4.md): Neon · 2025-05-30 · Medium · 4 min read · PostgreSQL, Incidents & postmortems, Query engines, Serverless, Performance engineering
  Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend.

## 2025-05-08

- [Postgres 18 Beta Is Out: 7 Features You Should Know About](https://swe.quest/articles/postgres-18-beta-is-out-7-features-you-should-know-about-12f5517ee11c16c3.md): Neon · 2025-05-08 · Easy · 4 min read · PostgreSQL, Performance engineering, Schema migrations, Identity & auth
  Postgres 18 Beta 1 introduces an asynchronous I/O subsystem selectable via io\_method (sync, worker by default, or Linux io\_uring), with early benchmarks showing 2–3x gains on read-heavy queries and a new pg\_aios view for in-flight I/O. pg\_upgrade now preserves planner statistics (except extended stats) and adds --jobs for parallel checks and --swap for swapping data directories, reducing post-upgrade slowdowns and downtime.

## 2025-03-26

- [Search From a Million Books in Milliseconds With Neon and pg\_search](https://swe.quest/articles/search-from-a-million-books-in-milliseconds-with-neon-and-pg-search-2b2bd7a3bf8b0ad8.md): Neon · 2025-03-26 · Medium · 6 min read · PostgreSQL, Search, Performance engineering
  Swapping the OpenAI-embedding semantic search in Vercel's Next.js Book Inventory template for pg\_search's BM25 full-text index on Neon Postgres made title searches over a million Goodreads books roughly 180–236x faster, dropping from about 2.7 seconds to 11–14 ms. The setup loads the dataset into a books table, prewarms the table and index with pg\_prewarm, creates a covering bm25 index, and queries with the @@@ operator and paradedb.match in conjunction\_mode.

## 2025-03-18

- [pg\_search is Available on Neon](https://swe.quest/articles/pg-search-is-available-on-neon-98d919ff82afb749.md): Neon · 2025-03-18 · Medium · 8 min read · PostgreSQL, Search, Performance engineering
  ParadeDB's pg\_search extension, now available on Neon in AWS regions, adds a Tantivy-powered BM25 inverted index to Postgres, bringing relevance ranking, fuzzy matching, faceting, highlighting and JSON-aware search that native tsvector/GIN full-text search lacks.

## 2024-12-26

- [Using Hyperdrive with Neon and Cloudflare Workers: FAQ](https://swe.quest/articles/using-hyperdrive-with-neon-and-cloudflare-workers-faq-3467430ed9174f03.md): Neon · 2024-12-26 · Medium · 5 min read · PostgreSQL, Serverless, CDN & edge, Caching, Performance engineering
  Cloudflare Hyperdrive is a globally distributed connection pooler and read-query cache for Workers.

## 2024-11-12

- [Monitor These Key Neon Metrics Via Datadog](https://swe.quest/articles/monitor-these-key-neon-metrics-via-datadog-4c621c1afdac4161.md): Neon · 2024-11-12 · Medium · 5 min read · PostgreSQL, Observability, Caching, Performance engineering
  Neon now exports database metrics to Datadog via an API-key integration covering all computes in a project.

## 2024-07-31

- [Don’t use vector. Use halvec instead and save 50% of your storage cost](https://swe.quest/articles/don-t-use-vector-use-halvec-instead-and-save-50-of-your-storage-cost-bd6cf6e833bfde8c.md): Neon · 2024-07-31 · Medium · 4 min read · Vector search, PostgreSQL, Performance engineering, RAG & retrieval
  pgvector 0.7's half-precision halfvec type stores embedding components as 16-bit floats instead of 32-bit, cutting table and HNSW index storage nearly in half.

## 2024-07-17

- [If I have read-only tables in Postgres, should I index them heavily?](https://swe.quest/articles/if-i-have-read-only-tables-in-postgres-should-i-index-them-heavily-cd42f0cfb1d86dc0.md): Neon · 2024-07-17 · Medium · 9 min read · PostgreSQL, Performance engineering, SQL
  Even when writes are off the table, heavily indexing read-only Postgres tables only pays off under certain conditions: table size, query complexity, data cardinality and resource constraints.

## 2024-07-08

- [How and when to use btree\_gist](https://swe.quest/articles/how-and-when-to-use-btree-gist-a2bcb15ac54b481b.md): Neon · 2024-07-08 · Medium · 10 min read · PostgreSQL, Maps & geospatial, Performance engineering, SQL
  Postgres's btree\_gist extension lets a single GiST index combine one-dimensional B-Tree-style columns (like dates) with spatial PostGIS geometries, so queries filtering on both space and time can use one index scan.

## 2024-06-07

- [How to Minimise the Impact of Database Latency](https://swe.quest/articles/how-to-minimise-the-impact-of-database-latency-bc4c9682c5942467.md): Neon · 2024-06-07 · Medium · 9 min read · PostgreSQL, Performance engineering, SQL, Serverless
  Database round-trip latency compounds with every sequential query, so co-locating the backend with the database and cutting round trips matters more than raw query speed.

[Next page](https://swe.quest/index.md?source=neon&tag=performance&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=neon&tag=performance](https://swe.quest/feed.xml?source=neon&tag=performance). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
