Google, Facebook – Protocol Buffers vs Thrift
p2pnet news view | Open Source:- Google and Facebook are F2F over open source inter-server communication with the public release of Google’s Protocol Buffers that’s taking on Facebook’s Thrift, says Heise Online.
“Google has open sourced their Protocol Buffers project, a light-weight framework for exchanging information between servers,” says the story.
“Protocol Buffers has been used within Google for a number of years to communicate between their internal systems, and already works with C++, Java and Python, but is, by design, language independent.
Facebook did the same with a similar framework, Thrift, a year ago, “and in June, the project moved to the Apache Incubator,” says the post, adding:
“Thrift supports a wider range of languages including Ruby, Erlang, C# and Perl. Protocol Buffers focusses on the encoding and decoding of inter-process messages. Thrift covers the same areas but also comes complete with interprocess communications code to handle the actual passing of messages between clients and servers.”
Thrift, “allows you to define data types and service interfaces in a simple definition file,” says Facebook.
“Taking that file as input, the compiler generates code to be used to easily build RPC clients and servers that communicate seamlessly across programming languages.”
Protocol Buffers, “allow you to define simple data structures in a special definition language, then compile them to produce classes to represent those structures in the language of your choice,” says Google.
.
.Stumble It!
Heise Online – Google and Facebook face off over open source server communications, July 15, 2008
Subscribe to p2pnet.net | | rss feed: http://p2pnet.net/p2p.rss | | Mobile – http://p2pnet.net/index-wml.php
Net access blocked by government restrictions? Use Psiphon from the Citizen Lab at the University of Toronto. Go here for details. Download here.





