Home / Companies / Neon / Blog / Post Details
Content Deep Dive

1 Year of Autoscaling Postgres: How it’s going, and what’s next

Blog post from Neon

Post Details
Company
Date Published
Author
Em Sharnoff
Word Count
1,790
Company Posts That Month
32
Language
English
Hacker News Points
-
Summary

Neon has been operating its autoscaling feature for Postgres serverless instances for over a year, and it has seen significant adoption with almost a third of customers using it. The feature performs zero-downtime vertical scaling, provisioning extra CPU and memory as needed to handle peak demand without incuring peak infrastructure costs. Neon's architecture uses virtual machines in Kubernetes clusters, which provides strong isolation boundaries, dynamic resource adjustment, and seamless live migration. Despite some challenges, such as issues with cgroup signals and memory scaling, Neon has continued to prioritize stability and improve its autoscaling algorithm. Future improvements include expanding the set of workloads that autoscaling is a good fit for, smarter autoscaling using local file cache metrics, accommodating rapid memory allocation with swap, and enhancing observability into swap usage.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 8 2,064 217 83 +11%
Serverless 4 980 177 77 +39%
Observability 1 1,227 261 93 -15%