Re: LISTEN/NOTIFY benchmarks?

From: prashanth(at)jibenetworks(dot)com
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: LISTEN/NOTIFY benchmarks?
Date: 2003-04-30 00:27:35
Message-ID: 20030430002735.GA4046@prashanth.jibenetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Tue, Apr 29, 2003 at 06:21:15PM -0400, Tom Lane wrote:
> prashanth(at)jibenetworks(dot)com writes:
> > If the listening backend had registered tens of thousands of LISTENs,
> > it would be sent an equivalent number of signals during a single run
> > of AtCommit_Notify().
>
> Not unless the notifier had notified all tens of thousands of condition
> names in a single transaction.

Unfortunately, that is a possibility in our application. We are now
working around this non-scalability.

Regardless, it would seem redundant to send more than one SIG_USR2 to the
recipient backend in that loop.

-- prashanth

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sean Chittenden 2003-04-30 00:30:46 Re: LISTEN/NOTIFY benchmarks?
Previous Message Tom Lane 2003-04-29 22:38:44 Re: "Adding missing from clause"