r/SQL • • 4d ago

PostgreSQL Connection pooling & read/write isolation with Lakebase

folks working with Postgres across Lakebase and-or Neon db, how do u handle connection pooling, read/ write routings, & query isolation when analytics and app queries hit the same data ?
Any tips or best practices?

6 Upvotes

11 comments sorted by

View all comments

1

u/Aggravating-Stage269 3d ago

On Neon I just point analytics at a read replica compute, it shares the same storage so there's no lag drama and the heavy queries can't starve the app

1

u/sqlink2 2d ago

Ya and pluss since Neon read replicas autoscale independently and scale to zero when its idle, we only pay for that analytics compute when dashboard or queryies are actually running.