incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: avro + cassandra + ruby
Date Wed, 17 Nov 2010 18:13:59 GMT
Cassandra.new(keyspace, server, {:protocol =>
Thrift::BinaryProtocolAccelerated})

On Tue, Nov 16, 2010 at 5:13 PM, Ryan King <ryan@twitter.com> wrote:
> On Tue, Nov 16, 2010 at 10:25 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
>> On Tue, Sep 28, 2010 at 6:35 PM, Ryan King <ryan@twitter.com> wrote:
>>> One thing you should try is to make thrift use
>>> BinaryProtocolAccelerated, rather than the pure-ruby implementation
>>> (we should change the default).
>>
>> Dumb question time: how do you do this?
>>
>> $ find . -name "*.rb" |xargs grep -i binaryprotocol
>>
>> in the fauna cassandra gem repo turns up no hits.
>
> I believe we're relying on the default from thrift_client (which
> defaults to BinaryProtocol): https://github.com/fauna/thrift_client/
>
> -ryan
>

Mime
View raw message