couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Trigger notifications to separate processes
Date Mon, 15 Jun 2009 09:44:25 GMT

On 11 Jun 2009, at 19:45, mani jassar wrote:

> On an update to the database I want to notify a separate process of  
> the
> change.  What are the right mechanisms to use to do so?  What is the  
> best
> way to trigger a notification to an Erlang process?

Have a look at the FaQ:

http://wiki.apache.org/couchdb/Frequently_asked_questions#update_views_more_often

Instead of updating the view on update, you just trigger your code.

Cheers
Jan
--


Mime
View raw message