Postgres Autoscaling: Aurora Serverless v2 vs Neon
Both Aurora Serverless v2 and Neon are serverless Postgres databases that offer dynamic scaling of compute resources based on demand. However, there are some key differences between the two platforms. Aurora Serverless v2 adjusts compute capacity in real-time using units called Aurora Capacity Units (ACUs), with a maximum capacity of 128 ACUs and minimum capacity of 0.5 ACU. It scales up and down in increments of 0.5 ACU, and can handle scaling nondisruptively without interrupting ongoing connections or transactions. Neon, on the other hand, measures compute capacity in Compute Units (CUs), with a maximum capacity of 10 CUs and minimum capacity of zero. It scales up and down in increments of 0.25 CU, and also offers nondisruptive scaling during capacity adjustments. Neon's pricing is subscription-based, while Aurora Serverless v2 uses a pay-per-use model based on ACU-hours consumed. Overall, Neon's more responsive scaling algorithm, ability to scale down to zero, and lower compute unit price make it a more cost-efficient option for running serverless Postgres databases.
Company
Neon
Date published
Aug. 28, 2024
Author(s)
Carlota Soto
Word count
1514
Language
English
Hacker News points
None found.