Think about Loose Coupling | |
PerlMonks |
RPC with Perlby glasswalk3r (Friar) |
on Aug 26, 2015 at 22:23 UTC ( [id://1140128]=perlquestion: print w/replies, xml ) | Need Help?? |
glasswalk3r has asked for the wisdom of the Perl Monks concerning the following question: Greetings monks, I'm looking for some options to implement a client/server RPC application. The requirements for such application are:
I did some research and it seems that Sereal for serialization is the way to go, but documentation says it should not be considered yet stable. Other problem is to implement a RPC protocol itself. I also considered the JSON RPC implementations available on CPAN, but all of them seems to be have assumptions as using PSGI or HTTP. XML RPC is an overhead that I just don't need. While I already assumed that I'll need to write a client and server using Unix socket from scratch I would like to avoid reinventing the wheel how the messages (probably Perl objects) need to be formatted, specially when it is necessary to deal with exceptions. Do you have any suggestions to give of modules that could be used? Another candidate might be RMI but the distribution have a fair number of failures reported, looking as not being maintained anymore. Thanks!
Alceu Rodrigues de Freitas Junior --------------------------------- "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
Back to
Seekers of Perl Wisdom
|
|