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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RPC with Perl
by QuillMeantTen (Friar) on Aug 27, 2015 at 07:12 UTC | |
by RonW (Parson) on Aug 27, 2015 at 16:17 UTC | |
by QuillMeantTen (Friar) on Aug 27, 2015 at 17:34 UTC | |
|
Re: RPC with Perl
by QuillMeantTen (Friar) on Aug 27, 2015 at 08:35 UTC | |
by glasswalk3r (Friar) on Sep 21, 2015 at 19:33 UTC | |
by QuillMeantTen (Friar) on Sep 22, 2015 at 07:10 UTC | |
by glasswalk3r (Friar) on Sep 21, 2015 at 19:49 UTC | |
|
Re: RPC with Perl
by Anonymous Monk on Aug 27, 2015 at 00:15 UTC |