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

Scaling serverless Postgres: How we implement autoscaling

Blog post from Neon

Post Details
Company
Date Published
Author
Em Sharnoff
Word Count
2,122
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

Neon has introduced an autoscaling feature in a Feature-Preview that automatically adjusts the CPU and memory allocation of serverless Postgres databases based on workload demand, enhancing efficiency and adaptability. This autoscaling minimizes manual intervention and optimizes resource usage, ensuring cost efficiency and simplifying database management. By decoupling storage from compute endpoints, each Postgres instance operates within its own VM in a Kubernetes cluster, with the autoscaler-agent managing scaling decisions based on metrics. The system addresses challenges such as resource overcommitment and sudden memory spikes by coordinating with the Kubernetes scheduler and utilizing NeonVM for VM management. Additionally, enhancements like live migration and a local file cache improve performance and responsiveness, allowing for seamless scaling and efficient handling of queries.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 12 1,328 195 77 -5%
Serverless 3 895 170 78 +67%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.