Skip to content
Tech News
← Back to articles

Prisma pgbouncer setting quadrupled query round-trips on Supabase for six months, KaribuKit finds

read original more articles
GoKawiil Brief

KaribuKit, a hotel booking system built by the operator of Mara Hilltop lodge, discovered that a misconfigured 'pgbouncer=true' setting in Prisma's Supabase connection had forced every database query to make four network round-trips instead of one since March. Fixing the setting cut the availability check on the booking page from 8.06 seconds to 1.88 seconds. The discovery came the same night the team also fixed an unrelated crash caused by an image preloader overwhelming memory on mobile Safari.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

The episode shows how a single overlooked connection-pooling flag can silently degrade an entire application's performance for months while engineers chase the wrong explanations, in this case blaming network geography instead of configuration. It's a cautionary example for any team using Prisma with pooled Postgres connections like Supabase's, where subtle parameter mismatches can multiply latency without throwing errors.

Key Takeaways

Source: blog.simbastack.com, 2026-09-15

Published there as: “Prisma's pgbouncer=true on Supabase made every query 4 round-trips (postmortem)”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.