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

From Tatsuo Ishii
Subject Re: pgbench with libevent?
Date
Msg-id 20230814.150659.1167547855459810626.t-ishii@sranhm.sra.co.jp
Whole thread Raw
In response to Re: pgbench with libevent?  (Thomas Munro <thomas.munro@gmail.com>)
Responses 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?

Interesting. In my understanding this also needs to make Latch
frontend-friendly?

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: Michael Paquier
Date:
Subject: Re: Support to define custom wait events for extensions