@Doridian for Postgres clustering I usually use pgbouncer, it will handle connection pooling for you and give you a single endpoint to utilize a replicated setup.

ice-lolly.social

At the intersection of rocketposting and liking elevators a bit too much: the social ramblings of ice-lolly-tasted in 500 characters or less.