Distributed "event" broadcasting?by jdrago_999 (Hermit)
|on Apr 21, 2009 at 00:19 UTC||Need Help??|
jdrago_999 has asked for the
wisdom of the Perl Monks concerning the following question:
I want to set up distributed (as in over the network) event broadcasting.
Just basically publish/subscribe eventing. Like you get with Microsoft Message Queue.
Example "subscriber" code:
Example "publisher" code:
I have done this a hundred times on the same machine, and I have this working with multiple machines, but currently my events are serialized to a database that is constantly queried by my "subscribers."
It would be great if I could have something like memcached that would just magically tell all the other machines that "Event XYZ has just happened."
So to make myself clear, I'm looking for a "MultiCast" eventing tool. Where do I start?