Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJ8ds-0001WH-Sz for pgsql-admin@arkaria.postgresql.org; Mon, 08 Mar 2021 05:41:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJ8dr-0007ZO-Jb for pgsql-admin@arkaria.postgresql.org; Mon, 08 Mar 2021 05:41:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJ8dr-0007ZH-5h for pgsql-admin@lists.postgresql.org; Mon, 08 Mar 2021 05:41:19 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJ8do-00049i-7h for pgsql-admin@lists.postgresql.org; Mon, 08 Mar 2021 05:41:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=zDKZv3PJORQzdmsRubaPrSyRsnmk0hEuw2aK8ntiYPM=; b=MTsC/kxLAwAfdZC9n/FnQ3f3UZ zbXHfmGkCS0e9ZeCqPQdC7UtQgDMTja20htuZ7+ZpIYb1CPQoAcqlfhxm8owXorffGOzJgZq9lHex ETskLv9xbF3ABkeiEFPinv9Hcdu2LHsXx86aSN9EJ4sd6lwGFw5lDAh6K1G5pHl/O8os=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lJ8dm-000J31-8R for pgsql-admin@lists.postgresql.org; Mon, 08 Mar 2021 12:41:14 +0700 Date: Mon, 8 Mar 2021 12:41:14 +0700 From: Victor Sudakov To: pgsql-admin@lists.postgresql.org Subject: Re: load balancer and connection pooling combined Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Does such a thing not exist? Is Pgpool-II not good enough in your experience? Victor Sudakov wrote: > Dear Colleagues, > > Based on your personal experience and industry best practices, what load > balancer combined with connection pooler can you advise? > > 1. I have good experience with pgpool, it's a great and robust > connection pooler, but it cannot do load balancing and failover (or > rather, it can do very rudimentary load balancing). > > 2. I have limited experience with haproxy, it's great for load balancing > and failover, but it's not a connection pooler, and its pgsql-check is > not good enough, I guess you have to use an external check. > > Is there the "one thing to rule them all" that does all of the above and > is well-tested and reliable? > > -- > Victor Sudakov VAS4-RIPE > http://vas.tomsk.ru/ > 2:5005/49@fidonet > > -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet