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,013
Company Posts That Month
14
Language
English
Hacker News Points
6
Post removed?
No
Summary

The release of autoscaling in Feature-Preview allows databases to accommodate varying workloads by automatically increasing or decreasing CPU and memory allocation based on the current load. This feature provides several benefits, including accommodating varying and unexpected workloads, being highly scalable, saving time for manual management, scaling without restarting, simplified management, cost efficiency, and preventing overcommitting resources. The autoscaling system is implemented using a combination of Kubernetes, NeonVM, and cgroups to manage the allocation of resources to Postgres instances running in virtual machines. The system can handle live migrations of VMs to reduce load on nodes, and also includes a local file cache to speed up queries by utilizing additional memory when available.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 12 1,328 195 77 -5%
Serverless 2 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.