Re: [GENERAL] Inter-app communication via DB

2008-06-19 Thread Karsten Hilbert
On Thu, Jun 19, 2008 at 11:46:42AM +0200, David wrote: > > That will happen anyway, no matter what the message > > transport is like. Apps will have to read state at startup > > anyway, no ? > > I have a small problem with this. If app1 wants to tell app2 to > perform an expensive operation (whic

Re: [GENERAL] Inter-app communication via DB

2008-06-19 Thread Dimitri Fontaine
Le jeudi 19 juin 2008, David a écrit : > One pattern I've used is for apps to communicate events to each other > through the database. > > ie: > > - App 1 sents a boolean value to True > - App 2 queries the field every 10s, sets the value to False, and does > something. > > Is this reasonable, or s

Re: [GENERAL] Inter-app communication via DB

2008-06-19 Thread David
On Thu, Jun 19, 2008 at 11:25 AM, Karsten Hilbert <[EMAIL PROTECTED]> wrote: > On Thu, Jun 19, 2008 at 11:09:12AM +0200, David wrote: [...] > >> One pattern I've used is for apps to communicate events to each other >> through the database. > > Works nicely with LISTEN/NOTIFY. We use it a lot in GNU

Re: [GENERAL] Inter-app communication via DB

2008-06-19 Thread Pavel Stehule
hello look to orafce package http://www.pgsql.cz/index.php/Oracle_functionality_%28en%29 regards Pavel 2008/6/19 David <[EMAIL PROTECTED]>: > Hi list. > > One pattern I've used is for apps to communicate events to each other > through the database. > > ie: > > - App 1 sents a boolean value to

Re: [GENERAL] Inter-app communication via DB

2008-06-19 Thread Karsten Hilbert
On Thu, Jun 19, 2008 at 11:09:12AM +0200, David wrote: > One pattern I've used is for apps to communicate events to each other > through the database. Works nicely with LISTEN/NOTIFY. We use it a lot in GNUmed. > - App 1 sents a boolean value to True > - App 2 queries the field every 10s, sets t