Re: Sending notifications from the master to the standby - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Sending notifications from the master to the standby
Date
Msg-id 4F0F1D8E.2030009@agliodbs.com
Whole thread Raw
In response to Re: Sending notifications from the master to the standby  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
> Many people clearly do think this is useful.

It also comes under the heading of "avoiding surprising behavior".  That
is, users instinctively expect to be able to LISTEN on standbys, and are
surprised when they can't.

> I personally don't think it will be that complex. I'm willing to
> review and maintain it if the patch works the way we want it to.
> 

I think we need some performance testing for the review for it to be valid.

1) How does this patch affect the speed and throughput of LISTEN/NOTIFY
on a standalone server?

2) Can we actually attach more LISTENers to multiple standbys than we
could to a single Master?

Unfortunately, I don't have an application which can LISTEN in a way
which doesn't eclipse any differences in througput or response time we
would see on the DB side.  Does anyone?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgbench post-connection command
Next
From: Jaime Casanova
Date:
Subject: create index regression fail