You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by mani jassar <ma...@gmail.com> on 2009/06/11 19:45:29 UTC
Trigger notifications to separate processes
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?
Re: Trigger notifications to separate processes
Posted by Jan Lehnardt <ja...@apache.org>.
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
--