Re: Built-in connection pooler

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Dimitri Fontaine <dim(at)tapoueh(dot)org>
Subject: Re: Built-in connection pooler
Date: 2019-01-28 21:10:40
Message-ID: 20190128211040.GF26761@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 <bruce(at)momjian(dot)us> 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 +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-01-28 21:12:31 Re: Proposed refactoring of planner header files
Previous Message Andres Freund 2019-01-28 21:02:11 Re: Proposed refactoring of planner header files