Home / Companies / Neon / Blog / Post Details
Content Deep Dive

Autoscaling in Action: Postgres Load Testing with pgbench

Blog post from Neon

Post Details
Company
Date Published
Author
Raouf Chebri
Word Count
1,000
Company Posts That Month
38
Language
English
Hacker News Points
-
Post removed?
No
Summary

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.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 2,379 618 172 -8%
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.