neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
13.2k stars 367 forks source link

Implement new vm-monitor - controller autoscaling protocol #8113

Open hlinnaka opened 1 week ago

hlinnaka commented 1 week ago

This is the VM monitor implementation of the RFC at https://github.com/neondatabase/neon/pull/8111.

I tried to keep the user-visible behavior unchanged from what we have today. Improving the autoscaling algorithm is a separate topic, the point of this work is just to move the algorihm from the autoscaler agent to the VM monitor. That lays the groundwork for improving it later, based on more metrics and signals inside the VM.

Some notable changes:

github-actions[bot] commented 1 week ago

No tests were run or test report is not available

Test coverage report is not available

The comment gets automatically updated with the latest test results
e67746c41c32ed622311f9b64f0a69800fbb8817 at 2024-06-19T15:04:36.858Z :recycle: