Company
Date Published
Author
Em Sharnoff
Word count
2122
Language
English
Hacker News points
None

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.