cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <>
Subject Re: How is the underlying CQL native binary protocol implemented?
Date Tue, 23 Dec 2014 19:42:16 GMT
I suggest reading the native protocol spec:

The native protocol is not RPC.  One of the reasons why it is more
efficient than thrift is that multiple operations can be in flight at the
same time with a single connection.

The java driver uses Netty for its implementation.  If I had to pick a
single class that's the "core", I would say

On Tue, Dec 23, 2014 at 1:11 AM, 孔嘉林 <> wrote:
> Hi, I am curious about the underlying implementation of the CQL native
> binary protocol. It is also a RPC protocol, right? But how can it
> outperform thrift as they are both RPC protocol?
> The Cassandra driver has already implemented this native binary protocol,
> could anyone tell me which part of the source code is the core of the
> binary protocol(java or c++ driver)?
> Thank you very much,
> Joy

Tyler Hobbs
DataStax <>

View raw message