Re: Google Protocol Buffers - structured binary data

2008-07-09 Thread Matt Kent
I have extensive experience with Thrift, and have been playing with
protocol buffers for a couple days.

Thrift is a more complete RPC solution, including client and server
implementations, whereas PB is just a data exchange format. If you want
a ready-to-go RPC server, use Thrift. If you want extensible data
serialization for a variety of uses, I'd check out PB.

Matt

On Wed, 2008-07-09 at 14:15 -0400, hank williams wrote:
> Has anyone looked at facebook thrift:
> 
> http://developers.facebook.com/thrift/
> 
> It seems to do essentially the same thing as protocol buffer and I am
> curious if anyone has looked at either or both and has any thoughts. We need
> a solution for fast server to server communications and so any insight would
> be appreciated.
> 
> Hank
> 
> On Wed, Jul 9, 2008 at 2:11 PM, Stuart Sierra <[EMAIL PROTECTED]> wrote:
> 
> > In case people are interested:
> >
> > Google has released its Protocol Buffers under the Apache license.  It
> > generates (de)serialization code for structured data in
> > Java/C++/Python from a simple schema description.
> >
> > http://code.google.com/p/protobuf/
> >
> > Should be pretty simple to wrap the generated code in a Writable.
> > Could be a useful alternative to org.apache.hadoop.record, especially
> > for data you want to use outside of the Hadoop framework.
> >
> > -Stuart
> >
> 
> 
> 



Re: Google Protocol Buffers - structured binary data

2008-07-09 Thread hank williams
Has anyone looked at facebook thrift:

http://developers.facebook.com/thrift/

It seems to do essentially the same thing as protocol buffer and I am
curious if anyone has looked at either or both and has any thoughts. We need
a solution for fast server to server communications and so any insight would
be appreciated.

Hank

On Wed, Jul 9, 2008 at 2:11 PM, Stuart Sierra <[EMAIL PROTECTED]> wrote:

> In case people are interested:
>
> Google has released its Protocol Buffers under the Apache license.  It
> generates (de)serialization code for structured data in
> Java/C++/Python from a simple schema description.
>
> http://code.google.com/p/protobuf/
>
> Should be pretty simple to wrap the generated code in a Writable.
> Could be a useful alternative to org.apache.hadoop.record, especially
> for data you want to use outside of the Hadoop framework.
>
> -Stuart
>



-- 
blog: whydoeseverythingsuck.com


Google Protocol Buffers - structured binary data

2008-07-09 Thread Stuart Sierra
In case people are interested:

Google has released its Protocol Buffers under the Apache license.  It
generates (de)serialization code for structured data in
Java/C++/Python from a simple schema description.

http://code.google.com/p/protobuf/

Should be pretty simple to wrap the generated code in a Writable.
Could be a useful alternative to org.apache.hadoop.record, especially
for data you want to use outside of the Hadoop framework.

-Stuart