Live data from Hacker News

Apache Thrift Library

thrift.apache.org

11–13 of 13 posts

Re: Apache Thrift Library

#11
If you are looking at Thrift, you should take a look at ZeroMQ too: http://www.zeromq.org ZeroMQ provides only ways to send/receive messages over several transport mechanisms (sockets on steroids) and address them to specific clients. It does not define what is the content of the messages, so you can send JSON/BSON/Protocol Buffer or whatever you come up with.

I work with it every day and it is a pleasure every single day.

Re: Apache Thrift Library

#12
We use both thrift and protobuf, and my experience with both has been very positive. I feel that protobuf is more mature and has better performance for the most part, but thrift does provide built in RPC support, which protobuf doesn't.

I think if I wanted to implement RPC I'd use thrift again in a second, and if I was sure I wanted only message passing/serialization, I'd go with protobuf again.

The other main factor is language support - while they are both very good at this, they have slightly different support, and if native PHP support is important to you, Thrift is a better choice, as well as for a few other languages as well.

Post reply on HN