Re: [HACKERS] Anyone working on asynchronous NOTIFY reception?

From: Brett McCormick <brett(at)work(dot)chicken(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane), pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Anyone working on asynchronous NOTIFY reception?
Date: 1998-04-15 21:28:44
Message-ID: 13621.9792.56866.280748@abraxas.scene.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I don't know how many clients you're running, but sending an empty
query every second or three isn't too much of a performance hit (I
know it still sucks though)..

could you cc copies of mail to the list? I'm sure we're very
interested..

On Wed, 15 April 1998, at 16:57:43, Bruce Momjian wrote:

> > I'm looking at an application that involves several client processes
> > communicating in real time via a pgsql database. "Real time" means
> > that when one client writes something, any other clients that are
> > interested need to know about it within a few seconds at most.
> > The other clients can use LISTEN/NOTIFY to detect updates --- but
> > I don't think I can accept the notion of continuously doing empty
> > queries to receive the notifies. That'll drive performance into the
> > ground. What I want is for a client to be able to sleep until
> > something interesting happens.
>
> The person who knows the most about this is:
>
> dz(at)cs(dot)unitn(dot)it (Massimo Dal Zotto)
>
>
> --
> Bruce Momjian | 830 Blythe Avenue
> maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
> + If your life is a hard drive, | (610) 353-9879(w)
> + Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-04-15 21:38:31 Re: [HACKERS] Anyone working on asynchronous NOTIFY reception?
Previous Message Bruce Momjian 1998-04-15 20:57:43 Re: [HACKERS] Anyone working on asynchronous NOTIFY reception?