---
title: "Discussion on \"PostgreSQL Connection Pooling on Cloud Run: The Problem Nobody Warns You About\" | Hashnode"
description: "Discussion on \"PostgreSQL Connection Pooling on Cloud Run: The Problem Nobody Warns You About\". Why Cloud Run's horizontal scaling exhausts PostgreSQL connections — and how to fix it with pool sizing, PgBouncer, and connection monitoring"
url: "https://hashnode.com/posts/postgresql-connection-pooling-on-cloud-run-the-problem-nobody-warns-you-about/6a96258fd2cfc25fc87e3b07"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PostgreSQL Connection Pooling on Cloud Run: The Problem Nobody Warns You About](https://blog.madhav.dev/postgresql-connection-pooling-on-cloud-run-the-problem-nobody-warns-you-about?utm_source=hashnode&utm_medium=feed)

Why Cloud Run's horizontal scaling exhausts PostgreSQL connections — and how to fix it with pool sizing, PgBouncer, and connection monitoring

Sep 1 · 6 min read · blog.madhav.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#cloud-run](https://hashnode.com/tag/cloud-run)
-   [#connection-pooling](https://hashnode.com/tag/connection-pooling)
-   [#backend-engineering](https://hashnode.com/tag/backend-engineering)
-   [#sqlalchemy](https://hashnode.com/tag/sqlalchemy)
-   [#pgbouncer](https://hashnode.com/tag/pgbouncer)

## Written by

[Madhav Bhasin](https://hashnode.com/@madhavbhasin)

@madhavbhasin · Noida, India

  
[View profile](https://hashnode.com/@madhavbhasin)

Production patterns for backend engineers who are tired of hello-world tutorials.

Senior full-stack engineer and engineering lead with 5+ years building cloud-native systems at scale. I write about the things the docs don't cover — GCP, FastAPI, Terraform, event-driven architecture, and AI-powered backends. No hello-world demos.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
