RPC/RMI in Perl
kaoru at slackwise.net
Tue Oct 14 18:02:22 BST 2008
On Tue, Oct 14, 2008 at 5:21 PM, Aaron Trevena <aaron.trevena at gmail.com> wrote:
> It sounds like you want CORBA rather than RPC/RMI given you're passing
> objects about rather than calling remote methods or procedures on
> objects that are in one place.
Thanks, I'll take a look.
> Either way it's worth deciding if and explaining why you need to pass
> objects around, rather than just invoke methods on them.
The idea is that we have a Buffer which is basically a set of obejcts.
The Buffer sits on Machine A and Machine B says "hey, Machine A, can I
get an Object?", Machine A dutifully passes an Object to Machine B and
removes it from its Buffer. The object should then only exist on
Machine B, which can later put it back on the Buffer if necessary.
What I really need is an Event::RPC which uses Data::Serializer to
pass around objects. The question is do I get that by using Event::RPC
and making my obejcts serialize themselves, by using RPC::Serialized
but making it keep state, or in some other way entirely.
More information about the london.pm