Monks,
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:
My::EventManager->observe( 'foo.on_mobble' => sub { my $event = shift; my $foo = $event->src; # Do stuff to $foo });
Example "publisher" code:
# Let anyone who cares know that $foo has just mobbled. $foo->notify( event => 'foo.on_mobble' );
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?
In reply to Distributed "event" broadcasting? by jdrago_999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |