/plushcap/analysis/neon/neon-autoscaling-in-action-postgres-load-testing-with-pgbench

Autoscaling in Action: Postgres Load Testing with pgbench

What's this blog post about?

In this article, the author demonstrates Neon autoscaling in action by running a load test using Postgres' popular benchmarking tool, pgbench. The test simulates 30 clients running a heavy query with high computational overhead to signal the autoscaler-agent to allocate more resources to the VM. The effectiveness and efficiency of autoscaling are often assumed without thorough testing, so this demonstration showcases its utility in real-time adjustment of resources allocated to a database based on its current workload. The author also explains how to enable autoscaling by defining the minimum and maximum compute units (CU) for a Postgres instance.

Company
Neon

Date published
Feb. 23, 2024

Author(s)
Raouf Chebri

Word count
1000

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.