public inbox for [email protected]  
help / color / mirror / Atom feed
From: Christophe Pettus <[email protected]>
To: Ravi Varma Addala <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: PGBouncer - Load balancing options
Date: Fri, 11 Oct 2024 07:35:06 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <DU4PR83MB067824D472F35F55C12F8444AD782@DU4PR83MB0678.EURPRD83.prod.outlook.com>
References: <DU4PR83MB067824D472F35F55C12F8444AD782@DU4PR83MB0678.EURPRD83.prod.outlook.com>

Hello,

> On Oct 10, 2024, at 03:02, Ravi Varma Addala <[email protected]> wrote:
> 
> Hello Team,I wanted to reach out to provide some insight into a request from my customer regarding their multiple PostgreSQL Flex instances with PGbouncer. Currently, they are utilizing an Azure Load Balancer which distributes connections using the Round-robin mechanism. However, they are now seeking a solution that allows for load balancing based on the number of connections, meaning the Load Balancer should route requests to the instance with the least number of connections.Unfortunately, Azure Standard Load Balancer does not support this capability. However, Application Gateway does offer this functionality - Microsoft.Network/applicationGateways - Bicep, ARM template & Terraform AzAPI reference | Microsoft Learn
>  ASK:
> 
>     • Has anyone implemented this kind of approach and is it possible?
>     • Can we do health probe with PostgreSQL to get no of connections metric?

Even though you mention pgbouncer in the subject:, your questions tare about proprietary products that your employer provides and supports.  It's probably best to ask internally about their functionality; the community almost certainly does not have any better insight into them.





view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: PGBouncer - Load balancing options
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox