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@cs.unitn.it (Massimo Dal Zotto)
>
>
> --
> Bruce Momjian | 830 Blythe Avenue
> maillist@candle.pha.pa.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)