views:

34

answers:

2

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.

+4  A: 

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

phparch
A: 

Why not just GET/POST?

symcbean
I need it to be secure, and simple using GET/POST require to every time configure tunneling scripts, but I need dynamic calling of custom remote methods.
SeniorDev
You never mentioned tunnelling (securing the connection is trivial) but regardless, that should not have significant impact. But maybe you should look at a message queuing system like rabbitmq
symcbean