barbushin
barbushin

Reputation: 5305

PHP remote procedure calling

I have two servers on PHP that need to communicate, calling remote methods of each other. XML-RPC for PHP is not very good solution because it's very slow, and I can't call multiple methods in one request.

Upvotes: 2

Views: 2838

Answers (3)

nembleton
nembleton

Reputation: 2502

Thanks for RipCord. I think it's a very good library. I just used it and could exec some rpc in just a hour or less.

Upvotes: 0

Auke
Auke

Reputation: 116

XML-RPC in PHP is pretty fast actually, if you use the built-in xmlrpc methods. It supports multiple method calls in a single request as well, using system.multiCall. The native multiCall is broken up to PHP 5.3.2 though. I've written an easy to use library for xmlrpc, called Ripcord, which allows you to very easily create servers and clients and works around most of the bugs in PHP's native xmlrpc methods. See http://ripcord.googlecode.com/

Upvotes: 1

phparch
phparch

Reputation: 175

Try MultiRpc - multiple methods calling in 1 request, by encrypted and compressed protocol.

Upvotes: 4

Related Questions