Re: pgbench with libevent?

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgbench with libevent?
Date: 2023-08-14 02:58:26
Message-ID: CA+hUKGK8St8+hJ1kb1fygEzNwgJunVyBL-+1pg-6W+JJPmOnyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 14, 2023 at 12:35 PM Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> > Pgbench is managing clients I/Os manually with select or poll. Much of this
> > could be managed by libevent.
>
> Or maybe libuv (used by nodejs?).
>
> From preliminary testing libevent seems not too good at fine grain time
> management which are used for throttling, whereas libuv advertised that it
> is good at it, although what it does is yet to be seen.

Do you think our WaitEventSet stuff could be good here, if made
frontend-friendly?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiro Ikeda 2023-08-14 03:31:05 Re: Support to define custom wait events for extensions
Previous Message Andrey Lepikhov 2023-08-14 02:52:47 Re: Report planning memory in EXPLAIN ANALYZE