Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2016-05-01 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.