cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: Internal structure of api calls
Date Mon, 01 Feb 2010 21:51:14 GMT
On Mon, Feb 1, 2010 at 3:48 PM, Erik Holstad <erikholstad@gmail.com> wrote:

> Hey guys!
>
> I'm totally new to Cassandra and have a couple of question about the
> internal structure of some of the calls.
>
> When using the slicerange(count) for the get calls, does the actual result
> being truncated on the server
> or is it happening on the client ie is it more efficient than the regular
> call?
>

It happens on the server.

Is there an internal counter for the get_count call that keeps track of the
> count or do you only save on
> return IO?


No, get_count currently has to deserialize the row and count the columns,
excluding tombstones.

-Brandon

Mime
View raw message