Cassandra.new(keyspace, server, {:protocol =>
Thrift::BinaryProtocolAccelerated})

On Tue, Nov 16, 2010 at 5:13 PM, Ryan King <r...@twitter.com> wrote:
> On Tue, Nov 16, 2010 at 10:25 AM, Jonathan Ellis <jbel...@gmail.com> wrote:
>> On Tue, Sep 28, 2010 at 6:35 PM, Ryan King <r...@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
>

Reply via email to