views:

123

answers:

3

I am looking to use a RPC framework for internal use. The framework has to be cross language. I am exploring Apache Thrift right now. Google protocol Buffers does not provide RPC capabilities exactly. What are the choices I have got apart from Thrift. (my servers will be primarily Java and the clients will be Java, Python, PHP).

+2  A: 

I would look at REST as a first option because it is ubiquitous and no-nonsense.

If performance and representation really needs to be compact, I have heard good things about Apache AVRO and my fingers are twitching to try it out in anger.

Peter Tillemans
AVRO seems interesting. Well REST vs RPC debate is over and I am looking for RPC alternatives
sheki
Good luck! Let us know how it works out.
Peter Tillemans
Well in first look, AVRO does not seem to support PHP out of the box. That might be an issue for us.
sheki
It is underway : https://issues.apache.org/jira/browse/AVRO-627
Peter Tillemans
A: 

There also seems to be ICE: which uses Google Protocol Buffers for RPC.

sheki
+1  A: 

There is also MessagePack which claims to be faster than Protocol Buffers and have more features than Thrift.

sheki
To be honest, performace differences between PB, Thrift and alternatives seldom matter a lot -- they are all fast enough for most uses.
StaxMan