---
title: "Cold starts just got hot"
description: "Neon cut serverless Postgres compute cold starts from 3-6 seconds to roughly 500 ms by skipping work and reframing the problem."
url: "https://swe.quest/articles/cold-starts-just-got-hot-2fb157f3acc4ca83"
canonical: "https://neon.com/blog/cold-starts-just-got-hot"
source: "Neon"
published: "2023-07-25"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["serverless","postgres","performance","system-design"]
---

# Cold starts just got hot

A post on [Neon](https://swe.quest/sources/neon.md), published 2023-07-25, 7 min read, Case study. Original: [https://neon.com/blog/cold-starts-just-got-hot](https://neon.com/blog/cold-starts-just-got-hot)

## Summary

Neon cut serverless Postgres compute cold starts from 3-6 seconds to roughly 500 ms by skipping work and reframing the problem. Idempotent configuration application (1-1.5 s) now runs only when tracked config changes require it, which needed a new model where computes fetch their own config. Pre-started compute pools hand out an empty compute and configure it in a few hundred milliseconds, recycling idle computes and falling back to on-demand creation. Smaller gains came from networking setup changes, caching internal IPs to avoid DNS waits, added concurrency and hot-path optimization. Planned work includes regional control planes and autoscaling computes so one pool can serve all sizes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- serverless databases ([easy posts on Serverless](https://swe.quest/tags/serverless.md?difficulty=easy))
- control plane vs data plane

## Keywords

Neon, PostgreSQL, compute pools, cold start

## Related posts

- [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.
- [Using Neon’s Scale to Zero with Long-Running Applications](https://swe.quest/articles/using-neon-s-scale-to-zero-with-long-running-applications-bbe64dd8466d86d8.md): Neon · 2024-01-24 · Medium · 7 min read · PostgreSQL, Serverless, Resilience, JavaScript, Performance engineering
  Neon's scale to zero suspends a Postgres compute after an idle window (only when no WAL senders are active and autovacuum isn't running), which severs connections held by long-running servers.
- [Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments](https://swe.quest/articles/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-81cd9c7a09760341.md): Neon · 2025-05-05 · Medium · 10 min read · PostgreSQL, Serverless, CI/CD, Testing, JavaScript
  Neon's serverless Postgres pairs well with ephemeral environments on AWS Lambda because each environment can get its own instant copy-on-write database branch without paying for extra RDS uptime.
- [Scaling serverless Postgres: How we implement autoscaling](https://swe.quest/articles/scaling-serverless-postgres-how-we-implement-autoscaling-6cecd10b4a114371.md): Neon · 2023-03-29 · Medium · 9 min read · PostgreSQL, Serverless, Kubernetes, Virtualization, Capacity planning
  Neon autoscales serverless Postgres by running each compute endpoint in a QEMU/KVM VM on Kubernetes (via its NeonVM controller) and hot-adding or removing CPU and memory based on load average.
- [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.

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)
