---
title: "Our Approach to High Availability"
description: "Neon treats high availability as a consequence of separating stateless compute from distributed storage rather than as a paid add-on."
url: "https://swe.quest/articles/our-approach-to-high-availability-0ddd5899b8c18a1c"
canonical: "https://neon.com/blog/our-approach-to-high-availability"
source: "Neon"
published: "2024-10-25"
difficulty: "easy"
kind: "Deep dive"
reading_minutes: 5
tags: ["postgres","replication","resilience","cloud","databases"]
---

# Our Approach to High Availability

A post on [Neon](https://swe.quest/sources/neon.md), published 2024-10-25, 5 min read, Deep dive. Original: [https://neon.com/blog/our-approach-to-high-availability](https://neon.com/blog/our-approach-to-high-availability)

## Summary

Neon treats high availability as a consequence of separating stateless compute from distributed storage rather than as a paid add-on. Compute failures are handled by automatically restarting Postgres or recreating the VM from a pre-provisioned pool and reattaching the same endpoint, typically within seconds and without changing the connection string. On the storage side, Safekeepers replicate WAL across availability zones, secondary Pageservers keep synchronized copies of project data for failover, and cloud object storage holds the durable primary copy of all data. The same design applies on every plan, including the free tier.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- Postgres write-ahead log ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- availability zones

## Keywords

Neon, Safekeeper, Pageserver, WAL, object storage

## Related posts

- [Architecture decisions in Neon](https://swe.quest/articles/architecture-decisions-in-neon-01182afd96537274.md): Neon · 2022-07-08 · Medium · 9 min read · PostgreSQL, Storage engines, System design, Serverless, Replication
  Neon built serverless Postgres by separating storage from compute without forking Postgres.
- [How Neon's lakebase architecture stays resilient to cloud failures](https://swe.quest/articles/how-neon-s-lakebase-architecture-stays-resilient-to-cloud-failures-af12630b54b66e1b.md): Neon · 2026-05-27 · Medium · 9 min read · Resilience, PostgreSQL, SRE, Chaos engineering, System design
  Neon (and Databricks Lakebase) hardens its serverless Postgres against cloud failures by keeping Postgres compute stateless over zone-redundant storage, so failed computes are replaced instantly without hot standbys or WAL replay.
- [What it Takes to Recover a 100 TB Postgres Database in AWS RDS](https://swe.quest/articles/what-it-takes-to-recover-a-100-tb-postgres-database-in-aws-rds-059ecd5d0236e5ed.md): Neon · 2025-02-04 · Easy · 7 min read · PostgreSQL, Replication, Cloud platforms, Resilience
  Recovering a 100 TB Postgres database on AWS RDS is slow or incomplete depending on the failure mode.
- [SELECT ’Hello, World’](https://swe.quest/articles/select-hello-world-151ac208b5f708c9.md): Neon · 2022-06-15 · Easy · 5 min read · PostgreSQL, Storage engines, Serverless, Cloud platforms, Multi-tenancy
  Neon is a serverless Postgres service built on separated storage and compute, launching behind a waitlist.
- [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.

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)
