Re: PgBouncer - HA Mode - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: PgBouncer - HA Mode
Date
Msg-id 917c4186-611e-e4c5-c715-b5300f97f98c@2ndquadrant.com
Whole thread Raw
In response to PgBouncer - HA Mode  ("Anjul Tyagi" <anjul@ibosstech-us.com>)
List pgsql-admin
On 2020-02-17 11:42, Anjul Tyagi wrote:
> we are using PgBouncer for connection pooling, now all are application 
> is connecting database via PgBouncer. However I need suggestion, if some 
> how VM goes down or something goes wrong with PgBouncer, how can we 
> handle that situation. We observe that currently its a single point of 
> failure for all application if PgBouncer goes down.
> 
> Is there any kind of load balancer or replicate the PgBouncer ti manage 
> the high availability?

A typical approach is to run several pgbouncer instances on separate 
hosts and use a TCP/IP-level load balancer (e.g., hardware load balancer 
or HAProxy) to route traffic.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-admin by date:

Previous
From: "Anjul Tyagi"
Date:
Subject: PgBouncer - HA Mode
Next
From: soumitra bhandary
Date:
Subject: Re: PgBouncer - HA Mode