Now active for all Neon databases: 𝐂𝐨𝐦𝐩𝐮𝐭𝐞 𝐩𝐫𝐞𝐰𝐚𝐫𝐦𝐢𝐧𝐠 is the first of several features that make compute restarts invisible. Context: We auto-upgrade Postgres minor versions and ship security patches for millions of databases/month. For always-on databases, this requires a compute restart that has 1sec P99. But the compute cache still needs to warm up. Compute prewarming dramatically improves post-restart performance. This is also the first big feature to ship in tandem on Neon and Databricks Lakebase. Thanks to Hans Norheim and team for leading the effort and providing an incredible write-up. (see comments)
Compute prewarming is underrated for agent-backed products. cold starts become visible to users long before teams notice them in dashboards.
running Neon in production with partitioned tables and pgvector. the cache warm up after restarts was always the one thing that bugged me. glad this is on by default now
Details in engineering post: https://neon.com/blog/prewarming