3 ms·
Were you managing your own DB server instance? I don't think client side pools are possible with RDS.
by Mizza 8y ago
Were you managing your own DB server instance? I don't think client side pools are possible with RDS.
- akurilin 8y agoWe're on RDS right now. We use connection pools from https://www.yesodweb.com/book/persistent https://www.yesodweb.com/book/persistent
- Mizza 8y agoOhhh, I understand. Long day. I got that backwards, I thought there was a server-side option I wasn't aware of. So you don't have a dedicated server with PgBouncer on it, you just move the pooler to where the requests originates from. I think this might be problematic in a highly elastic/distributed architecture but would work if you have a beefy dedicated application instance.
- akurilin 8y agoCorrect, you'd have to instruct your pools to resize as machines are added and removed. We haven't had to do that so far, as we're not that dramatically elastic.