Re: pgbench: option delaying queries till connections establishment?

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgbench: option delaying queries till connections establishment?
Date: 2020-03-07 08:30:31
Message-ID: alpine.DEB.2.21.2003070924480.21542@pseudo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hallo Andres,

> Slight aside: Have you ever looked at moving pgbench to non-blocking
> connection establishment? It seems weird to use non-blocking everywhere
> but connection establishment.

Attached an attempt at doing that, mostly done for fun. It seems to be a
little slower on a local socket.

What do you think?

Maybe it would be worth having it with an option?

--
Fabien.

Attachment Content-Type Size
pgbench-async-connect-1.patch text/x-diff 13.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-03-07 08:51:48 Re: Question: Select messages using binary format
Previous Message Fabien COELHO 2020-03-07 08:24:43 Re: pgbench: option delaying queries till connections establishment?