---
title: "Discussion on \"Fixing Prisma & Drizzle Connection Exhaustion: How Co-Located Postgres 18 + PgBouncer Cut Our p95 Latency from 914ms to 2ms\" | Hashnode"
description: "Discussion on \"Fixing Prisma & Drizzle Connection Exhaustion: How Co-Located Postgres 18 + PgBouncer Cut Our p95 Latency from 914ms to 2ms\". Why serverless database cold starts and ephemeral connections hurt Node.js tail latencies—and how a dual-port PgBouncer 1.26 architecture solved it."
url: "https://hashnode.com/posts/fixing-prisma-drizzle-connection-exhaustion-how-co-located-postgres-18-pgbouncer-cut-our-p95-latency-from-914ms-to-2ms/6addd2ec30dff6e7290f2ab0"
---

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

Discussion

# [Fixing Prisma & Drizzle Connection Exhaustion: How Co-Located Postgres 18 + PgBouncer Cut Our p95 Latency from 914ms to 2ms](https://xsypher.hashnode.dev/fixing-prisma-drizzle-connection-exhaustion-how-co-located-postgres-18-pgbouncer-cut-our-p95-latency-from-914ms-to-2ms?utm_source=hashnode&utm_medium=feed)

Why serverless database cold starts and ephemeral connections hurt Node.js tail latencies—and how a dual-port PgBouncer 1.26 architecture solved it.

Oct 25 · 6 min read · xsypher.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#docker](https://hashnode.com/tag/docker)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#backend](https://hashnode.com/tag/backend)
-   [#databasestorage](https://hashnode.com/tag/databasestorage)

## Written by

[Anwar Iqbal Dawar](https://hashnode.com/@anwariqbal)

@anwariqbal

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

Founder & Editor-in-Chief @ xSypher

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
