Re: pgbench with libevent? - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: pgbench with libevent?
Date
Msg-id CA+hUKGK8St8+hJ1kb1fygEzNwgJunVyBL-+1pg-6W+JJPmOnyA@mail.gmail.com
Whole thread Raw
In response to Re: pgbench with libevent?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench with libevent?
Re: pgbench with libevent?
List pgsql-hackers
On Mon, Aug 14, 2023 at 12:35 PM Fabien COELHO <coelho@cri.ensmp.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?



pgsql-hackers by date:

Previous
From: Andrey Lepikhov
Date:
Subject: Re: Report planning memory in EXPLAIN ANALYZE
Next
From: Masahiro Ikeda
Date:
Subject: Re: Support to define custom wait events for extensions