libpq: Request Pipelining/Batching status ?

From: Matthieu Garrigues <matthieu(dot)garrigues(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: libpq: Request Pipelining/Batching status ?
Date: 2020-07-10 15:08:20
Message-ID: CAJkzx4Tyfu+ObU5NRjM3w=+HvxzH24TeNbuHwYVNW20szC8kiQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Do you know what is the status of Request Pipelining and/or Batching in
libpq ?

I could see that I'm not the first one to think about it, I see an item in
the todolist:
https://web.archive.org/web/20200125013930/https://wiki.postgresql.org/wiki/Todo

And a thread here:
https://www.postgresql-archive.org/PATCH-Batch-pipelining-support-for-libpq-td5904551i80.html

And a patch here:
https://2ndquadrant.github.io/postgres/libpq-batch-mode.html

Seems like this boost performances a lot, drogon, a c++ framework
outperform all
other web framework thanks to this fork:
https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=update
https://github.com/TechEmpower/FrameworkBenchmarks/issues/5502

It would be nice to have it it the official libpq so we don't have to use
an outdated fork
to have this feature.
Is anybody working on it ? is there lots of work to finalize this patch ?

Thanks in advance,
Matthieu

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2020-07-10 15:13:26 Re: expose parallel leader in CSV and log_line_prefix
Previous Message Peter Eisentraut 2020-07-10 15:05:04 Re: <xref> vs <command> formatting in the docs