Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty common advice for scaling Postgres is to deploy pgbouncer in transaction mode in front of it to handle connection pooling.

Advisory locks don’t work in this setup (and will start behaving in strange ways if you do try to use them.) Something to consider if you go this route.



Transaction-scoped advisory locks are very much a thing too.


Depends. That has more to do with how your're scaling application servers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: