Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: AnyEvent and Postgres Listen/Notify

by nikosv (Chaplain)
on Apr 14, 2014 at 06:57 UTC ( #1082194=note: print w/replies, xml ) Need Help??

in reply to AnyEvent and Postgres Listen/Notify

You could use the inherent DBMS's database events. You make an application, preferably set up as a service for constant monitoring, that registers and listens for the event. As soon as the event is raised the service gets the event details (name,text) and acts upon it.

For a good example on it check the event.t source of DBD-IngresII. Might be Ingres specific and not Postgres but it illustrates the point clearly

  • Comment on Re: AnyEvent and Postgres Listen/Notify

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082194]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2016-10-25 13:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (320 votes). Check out past polls.