---
title: "Neon (hard)"
description: "Posts from Neon on swe.quest."
url: "https://swe.quest/sources/neon?difficulty=hard"
---

# Neon (hard)

Posts from [Neon](https://neon.com/blog), newest first.

Posts 1–10 of 10, page 1 of 1, newest first.

## 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-31

- [Autoscaling Lakebase Postgres](https://swe.quest/articles/autoscaling-lakebase-postgres-63257ef0753db067.md): Neon · 2026-08-31 · Hard · 12 min read · PostgreSQL, Capacity planning, Virtualization, Algorithms, Kubernetes
  Neon's Lakebase Postgres resizes compute in place about once every 81 seconds by taking the maximum of three target sizes: CPU load (one-minute average kept under 90%), memory (polled every 100 ms by an in-VM monitor and kept under 75%), and the working set of the compute cache.

## 2026-08-24

- [WAL + S3: Lakebase storage for the era of agents](https://swe.quest/articles/wal-s3-lakebase-storage-for-the-era-of-agents-3f04922da0e40ff3.md): Neon · 2026-08-24 · Hard · 15 min read · PostgreSQL, Storage engines, Storage systems, Data structures, Replication
  Lakebase Postgres (Neon's architecture) treats the Postgres write-ahead log as the source of truth and data pages as a derived cache, splitting the system into stateless compute running unmodified Postgres and a storage layer of Paxos-replicated safekeepers, pageservers, and S3.

## 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.

## 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-06-06

- [AWS CNI lessons from a Production Outage](https://swe.quest/articles/aws-cni-lessons-from-a-production-outage-260eb3bb5e231425.md): Neon · 2025-06-06 · Hard · 18 min read · Kubernetes, Networking, Cloud platforms, Incidents & postmortems, Capacity planning
  Neon's us-east-1 Kubernetes cluster ran out of VPC subnet IPs at ~8k Computes despite 12k addresses, because AWS VPC CNI's default WARM\_ENI\_TARGET=1 behaviour over-allocates whole ENIs (49 IPs each) and only releases an ENI when it has no assigned Pods.

## 2024-04-15

- [1 Year of Autoscaling Postgres: How it’s going, and what’s next](https://swe.quest/articles/1-year-of-autoscaling-postgres-how-it-s-going-and-what-s-next-a75ce75d92118903.md): Neon · 2024-04-15 · Hard · 8 min read · PostgreSQL, Virtualization, Capacity planning, Memory management, Kubernetes
  Neon autoscales Postgres by running each instance as a VM in Kubernetes (NeonVM), with a per-node autoscaler-agent, a modified scheduler, and an in-VM vm-monitor that resizes the Local File Cache.

## 2023-05-19

- [Persistent Structures: Key to 2000x Speedup in Neon’s WAL Indexing](https://swe.quest/articles/persistent-structures-key-to-2000x-speedup-in-neon-s-wal-indexing-ca3203d56783f4cb.md): Neon · 2023-05-19 · Hard · 10 min read · Data structures, Storage engines, PostgreSQL, Rust, Performance engineering
  Neon's pageserver must answer GetPage(key, LSN) by finding, for a point in key–LSN space, the first image or delta layer rectangle directly below it, across tens of millions of layers.

## 2023-03-30

- [Deep dive into Neon storage engine](https://swe.quest/articles/deep-dive-into-neon-storage-engine-efc0ffc53406f34d.md): Neon · 2023-03-30 · Hard · 7 min read · Storage engines, PostgreSQL, Distributed databases, Serverless, Replication
  Neon's storage engine separates Postgres compute from storage and serves pages through GetPage@LSN, reconstructing any page as of any log sequence number from immutable layer files.

## 2022-08-02

- [Why does Neon use Paxos instead of Raft, and what’s the difference?](https://swe.quest/articles/why-does-neon-use-paxos-instead-of-raft-and-what-s-the-difference-f6a04ce40b5e85a1.md): Neon · 2022-08-02 · Hard · 14 min read · Consensus, Replication, PostgreSQL, Distributed databases, Formal methods
  Neon replaces Postgres's storage layer with distributed storage, so stateless compute nodes act as Paxos proposers and a fixed set of disk-backed safekeepers act as acceptors.

Same list as RSS: [https://swe.quest/feed.xml?source=neon&difficulty=hard](https://swe.quest/feed.xml?source=neon&difficulty=hard). 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)
