Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 chilling in the Monastery: (8)
As of 2015-11-25 08:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls