Thanks for this!<br><br><div class="gmail_quote">On Thu, May 17, 2012 at 7:25 PM, AD <span dir="ltr"><<a href="mailto:straightflush@gmail.com" target="_blank">straightflush@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Andrew,<div><br></div><div> I posted about something similar on my blog <a href="http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html" target="_blank">http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html</a>.  I cant speak to gen_event personally, I havent used it that much, but I think its more of a use case for logging errors and such centrally versus a messaging system but I could be off here.</div>


<div><br></div><div>-A<br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 17, 2012 at 8:14 PM, Andrew Berman <span dir="ltr"><<a href="mailto:rexxe98@gmail.com" target="_blank">rexxe98@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello,<div><br></div><div>I am trying to set up a pub-sub type situation where I have a function called which does some stuff and at the end broadcasts a message.  I would like for multiple handlers to be able to receive that message and do something with it.  I'm currently using gen_event, but have been reading about gproc as well.  Can anyone explain why they'd use one over the other for pub/sub?</div>




<div><br></div><div>Thanks,</div><div><br></div><div>Andrew</div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>