Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goEB7-0007eI-2A for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 21:10:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1goEB5-0001DQ-OW for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 21:10:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goEB5-0001CN-HD for pgsql-hackers@lists.postgresql.org; Mon, 28 Jan 2019 21:10:47 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goEB2-0006UH-Bx for pgsql-hackers@postgresql.org; Mon, 28 Jan 2019 21:10:47 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1goEAz-0002g5-0B; Mon, 28 Jan 2019 16:10:41 -0500 Date: Mon, 28 Jan 2019 16:10:40 -0500 From: Bruce Momjian To: Konstantin Knizhnik Cc: PostgreSQL Hackers , Dimitri Fontaine Subject: Re: Built-in connection pooler Message-ID: <20190128211040.GF26761@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Jan 24, 2019 at 08:14:41PM +0300, Konstantin Knizhnik wrote: > The main differences with pgbouncer&K are that: > > 1. It is embedded and requires no extra steps for installation and > configurations. > 2. It is not single threaded (no bottleneck) > 3. It supports all clients (if client needs session semantic, then it will be > implicitly given dedicated backend) > > > Some performance results (pgbench -S -n): > > ┌────────────────┬────────┬─────────────┬─────────┬─────────────────────────┐ > │ #Connections │ Proxy │ Proxy/SSL │ Direct │ Direct/SSL │ > ├────────────────┼────────┼─────────────┼─────────┼──────────────┤ > │ 1 │ 13752 │ 12396 │ 17443 │ 15762 │ > ├────────────────┼────────┼─────────────┼─────────┼──────────────┤ > │ 10 │ 53415 │ 59615 │ 68334 │ 85885 │ > ├────────────────┼────────┼─────────────┼─────────┼──────────────┤ > │ 1000 │ 60152 │ 20445 │ 60003 │ 24047 │ > └────────────────┴────────┴─────────────┴─────────┴──────────────┘ It is nice it is a smaller patch. Please remind me of the performance advantages of this patch. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +