Re: [SQL NOTIFY Help] sending NOTIFY to the external program

From: Dave Steinberg <dave-pgsql(at)redterror(dot)net>
To: ramachandra(dot)bhaskaram(at)wipro(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL NOTIFY Help] sending NOTIFY to the external program
Date: 2007-01-03 16:20:47
Message-ID: 459BD7DF.1030807@redterror.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> On Wed, Jan 03, 2007 at 07:47:34PM +0530, ramachandra(dot)bhaskaram(at)wipro(dot)com wrote:
>> Yes, our application is supposed to know *immediately* that a change in
>> the database has occurred since,

I'd recommend some sort of "whiteboard" layer or messaging fabric as an
option for this sort of thing. This offloads the notification element
from the database, and lets you pass along any data you want to the
listeners - even the complete record.

Also this sort of thing scales well to multiple listeners. Anyway, just
a thought...

Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message chester c young 2007-01-05 03:21:03 quoted variables in pgsql
Previous Message Andrew Sullivan 2007-01-03 16:10:21 Re: [SQL NOTIFY Help] sending NOTIFY to the external program