Neon - Serverless Postgres
banner
neon.com
Neon - Serverless Postgres
@neon.com
Ship faster with Postgres. Open Source. Serverless.

🐘 Free Plan: https://pg.new
💬 https://neon.tech/discord
🎥 https://youtube.com/@neondatabase
We wrote up more about TanStack DB with ElectricSQL here: neon.com/blog/tanstac...
TanStack DB with Sync - the future of real-time UI - Neon
Learn how to achieve end-to-end reactivity and optimistic UI updates with Electric SQL, TanStack DB, and Postgres.
neon.com
August 7, 2025 at 1:18 AM
TanStack DB adds optimistic updates on top, making your UIs feel snappy, not just for GET requests, but also when mutating data from the UI.
August 7, 2025 at 1:18 AM
ElectricSQL moves state synchronization into a dedicated service, greatly simplifying backend complexity. Instead of managing WebSockets, Server-Sent Events, or polling connections yourself, the ElectricSQL server handles the client updates for you.
August 7, 2025 at 1:18 AM
Whenever an agent, background task, or webhook function mutates the database, the changes instantly propagate to all connected client devices, and the associated UIs update in real time.
August 7, 2025 at 1:18 AM
This is fantastic not only for multiplayer or multi-device flows, but also when working with background AI agents and third-party services like Stripe triggering webhooks.
August 7, 2025 at 1:18 AM
It's magical when you update a row in your db and connected UIs instantly update. Real-time UI isn’t a new concept, but sync engines like ElectricSQL turn Postgres into the source of truth for the sync, simplifying the mental model needed to build reactive updates - just write to the database!
August 7, 2025 at 1:18 AM
These are systems-level changes that make a real difference, although we still have work to do.

Read the full engineering writeup here: neon.com/blog/recent-...
Recent Storage Performance Improvements at Neon - Neon
Over the past several months, we’ve been focused on making the Neon storage system faster - here's a recap of recent improvements.
neon.com
July 15, 2025 at 6:16 PM
7/ Better sharding policy

We now shard earlier and more gradually: 4 shards at 16 GB, 16 at 2 TB. This improved ingest performance by 17.5% for mid-size tenants.

More info on sharding: neon.com/blog/how-we-...
How we scale an open source, multi-tenant storage engine for Postgres written in Rust - Neon
We separated storage and compute with the vision of scaling Postgres in the cloud. The compute part runs on VMs and pods, autoscales on-demand and streams Postgres Write-Ahead-Log (WAL) records to the...
neon.com
July 15, 2025 at 6:16 PM
6/ Parallel S3 uploads

Uploads no longer block layer writes. Upload throughput doubled, and ingest time in our benchmarks dropped.
July 15, 2025 at 6:16 PM
5/ Smarter compaction

We now prioritize L0 compaction to avoid read amplification during ingestion. This dropped p99 read amplification by >50%.
July 15, 2025 at 6:16 PM
4/ Scan prefetching

Instead of fetching one page at a time, Pageservers now prefetch up to 100. In our benchmarks, schema finalization dropped from 10h to 2.5h.
July 15, 2025 at 6:16 PM
3/ Faster disk writes

Safekeepers now use sparse files and fewer flushes. WAL write throughput improved by 230%.
July 15, 2025 at 6:16 PM
2/ WAL compression

WAL is now compressed with Zstd before it’s sent to Pageservers. This cut Safekeeper → Pageserver bandwidth by ~70%.
July 15, 2025 at 6:16 PM
1/ Sharded ingest

We stopped broadcasting WAL to all shards and now route writes only where they’re needed. Less network traffic, lower CPU, and ~2× faster ingestion for large tenants.
July 15, 2025 at 6:16 PM
To finish up, here’s a demo: fyi.neon.tech/pgsearch

Search over 50 million records using pg_search and Neon!
Editions Collection — Postgres with pg_search
View 53 million editions from Open Library.
fyi.neon.tech
March 18, 2025 at 5:26 PM