---
title: "The Noisy Neighbor Problem in Multitenant Architectures"
description: "Noisy neighbors in a shared Postgres instance such as AWS RDS degrade performance for every tenant through CPU saturation, work_mem and shared_buffers pressure, disk I/O contention on EBS, exhaustion of max_connections, and lock contention from long transactions."
url: "https://swe.quest/articles/the-noisy-neighbor-problem-in-multitenant-architectures-3c851a6c15e7f85b"
canonical: "https://neon.com/blog/noisy-neighbor-multitenant"
source: "Neon"
published: "2025-04-03"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 8
tags: ["multi-tenancy","postgres","serverless","cloud"]
---

# The Noisy Neighbor Problem in Multitenant Architectures

A post on [Neon](https://swe.quest/sources/neon.md), published 2025-04-03, 8 min read, Opinion. Original: [https://neon.com/blog/noisy-neighbor-multitenant](https://neon.com/blog/noisy-neighbor-multitenant)

## Summary

Noisy neighbors in a shared Postgres instance such as AWS RDS degrade performance for every tenant through CPU saturation, work\_mem and shared\_buffers pressure, disk I/O contention on EBS, exhaustion of max\_connections, and lock contention from long transactions. Within RDS, the mitigations range from per-tier statement\_timeout values, PgBouncer connection quotas per tenant and application-level rate limiting, to schema-per-tenant throttling, up to full database-per-tenant isolation, which is costly and operationally heavy. Neon's pitch is a project per tenant: storage is shared while each tenant gets isolated compute that autoscales and scales to zero, which makes per-tenant isolation affordable.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- PostgreSQL basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- multitenant SaaS architecture ([easy posts on System design](https://swe.quest/tags/system-design.md?difficulty=easy))

## Keywords

Neon, AWS RDS, PgBouncer, PostgreSQL

## Related posts

- [Multi-tenancy and Database-per-User Design in Postgres](https://swe.quest/articles/multi-tenancy-and-database-per-user-design-in-postgres-5cbc5e19177ab4be.md): Neon · 2024-08-29 · Easy · 7 min read · Multi-tenancy, PostgreSQL, System design
  Postgres multi-tenancy comes in three main designs: shared schema, schema-per-user and database-per-user.
- [SELECT ’Hello, World’](https://swe.quest/articles/select-hello-world-151ac208b5f708c9.md): Neon · 2022-06-15 · Easy · 5 min read · PostgreSQL, Storage engines, Serverless, Cloud platforms, Multi-tenancy
  Neon is a serverless Postgres service built on separated storage and compute, launching behind a waitlist.
- [How we scale an open source, multi-tenant storage engine for Postgres written in Rust](https://swe.quest/articles/how-we-scale-an-open-source-multi-tenant-storage-engine-for-postgres-written-in-e5615307ced50afc.md): Neon · 2024-04-15 · Medium · 5 min read · Storage engines, PostgreSQL, Distributed databases, Multi-tenancy, Scaling
  Neon shards its Rust-based Pageserver storage layer by dividing each Postgres relation's 8KiB block numbers into stripes (default 256MiB) and hashing each stripe to a Pageserver.
- [Multi-tenancy at Scale: How to Give Every User Their Own Database](https://swe.quest/articles/multi-tenancy-at-scale-how-to-give-every-user-their-own-database-68099102015dea58.md): Turso · 2026-08-17 · Medium · 7 min read · Multi-tenancy, SQLite, System design, Cost optimization, TypeScript
  The standard warning against database-per-tenant assumes each database is a server process like PostgreSQL or MySQL, with its own memory, connection pool and backup schedule.
- [Inside LuBot's database-per-tenant architecture](https://swe.quest/articles/inside-lubot-s-database-per-tenant-architecture-3e140bf0d5ffcd96.md): Neon · 2026-09-14 · Medium · 5 min read · Multi-tenancy, PostgreSQL, Serverless, System design
  LuBot, a solo-founder analytics chat product, gives each paying customer an isolated Postgres database by creating a Neon branch from a Stripe webhook, with Supabase kept as the control plane for orgs, users and billing.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
