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:15:56 GMT
Full list of client options and defaults:
https://github.com/fauna/thrift_client/blob/master/lib/thrift_client/abstract_thrift_client.rb#L28-43

On Wed, Nov 17, 2010 at 10:13 AM, Benjamin Black <b@b3k.us> wrote:
> 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