Re: Alternative wire protocols

2009-06-28 Thread Bill de hOra
Evan Weaver wrote: I wanted to start a small discussion to see if there is any interest in supporting alternative wire protocols or perhaps junking Thrift to some degree. Some options: * Use JSON over HTTP * Use BSON over...something (http://www.mongodb.org/display/DOCS/BSON) * Use ASN.1

Re: Alternative wire protocols

2009-06-28 Thread Jonathan Ellis
On Sun, Jun 28, 2009 at 7:49 AM, Bill de hOrab...@dehora.net wrote: I've been playing around again with Cassandra recently and I agree Thrift is a pain point, and that was the case when I looked at the project originally. But I think it's not so much Thrift as how the data is presented to

Re: Alternative wire protocols

2009-06-25 Thread Michael Greene
if there is any interest in supporting alternative wire protocols or perhaps junking Thrift to some degree. Some options:  * Use JSON over HTTP  * Use BSON over...something (http://www.mongodb.org/display/DOCS/BSON)  * Use ASN.1 over...something  * Use Protocol Buffers over...something  * Use Thrift

Re: Alternative wire protocols

2009-06-25 Thread Jonathan Ellis
On Thu, Jun 25, 2009 at 1:35 PM, Michael Greenemichael.gre...@gmail.com wrote: A quick time-to-production could be achieved through distributing re-packaged client libraries.  I like that idea.  I brought it up on IRC at one time, and Jonathan convinced me I was wrong, but now I can't remember

Re: Alternative wire protocols

2009-06-25 Thread Evan Weaver
language (everything else?). -Jonathan On Wed, Jun 24, 2009 at 3:53 PM, Evan Weaverewea...@gmail.com wrote: I wanted to start a small discussion to see if there is any interest in supporting alternative wire protocols or perhaps junking Thrift to some degree. Some options:  * Use JSON

Re: Alternative wire protocols

2009-06-25 Thread Michael Greene
Jonathan Ellisjbel...@gmail.com wrote: IIRC my objection there was that for things like thrift/py that assume part of thrift is installed normally in python site-packages you can't just give someone a self-contained client module w/o some pretty gross hacks. I was assuming one would use the

Re: Alternative wire protocols

2009-06-24 Thread Jonathan Ellis
for each language (everything else?). -Jonathan On Wed, Jun 24, 2009 at 3:53 PM, Evan Weaverewea...@gmail.com wrote: I wanted to start a small discussion to see if there is any interest in supporting alternative wire protocols or perhaps junking Thrift to some degree. Some options:  * Use

Re: Alternative wire protocols

2009-06-24 Thread Alexander Staubo
On Wed, Jun 24, 2009 at 11:03 PM, Jonathan Ellisjbel...@gmail.com wrote: I'm not really interested in stuff that's going to be Much Slower like anything over http (Jay from Voldemort said that's basically a waste of time and I believe him) Not sure I believe that. There's nothing *inherently*

Re: Alternative wire protocols

2009-06-24 Thread Michael Greene
The author of those blog posts has cheated by using the C versions of JSON serializers while using the naive Python implementation of the Thrift serializer. If he used the 'accelerated' version, Thrift would be much faster. See http://jnb.ociweb.com/jnb/jnbJun2009.html#compare for a more

Re: Alternative wire protocols

2009-06-24 Thread Ian Holsman
not everything is about speed. it really isn't. It's about cost (or if your google, power usage). and ease of use as well. claiming a interface is 10% faster is not going to help if it takes 100 times longer to develop with, or you can't wake someone up at 2am to quickly fix some data

Re: Alternative wire protocols

2009-06-24 Thread Alexander Staubo
On Thu, Jun 25, 2009 at 12:23 AM, Michael Greenemichael.gre...@gmail.com wrote: The author of those blog posts has cheated by using the C versions of JSON serializers while using the naive Python implementation of the Thrift serializer.  If he used the 'accelerated' version, Thrift would be