10
votes

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).

3
After Exploring a bit, and looking at all the options available along with the Documentation, I prefer Thrift. Waiting for Message Pack to be more mature - sheki
Curious tho what exactly are you looking with RPC over very simple request/response handling ("REST"); for example simple HTTP+JSON combination works rather well, convenient, performance, simple. So what would a framework like thrift, PB, Hessian or others buy you? - StaxMan
Thrift is definitely faster and lighter than the HTTP/JSON approach. More requests can be served using Thrift than HTTP+JSON/XML. So Thrift is a good choice for internal services. REST approach may be best for external APIs - sheki

3 Answers

4
votes

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

2
votes

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.

1
votes

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