incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Gude <roland.g...@yoochoose.com>
Subject Streaming Row Ranges
Date Thu, 16 Dec 2010 14:21:51 GMT
Hi

In order to access all rows in Cassandra a common pattern is to do multiple range scans and
page through them, starting with the last key from the previous result. This introduces a
lot of (unnecessary) latency. As the client has to read the result extract the last key and
start a new query which Cassandra then has to process.
I think that, from a client perspective it would be nicer in many scenarios just to "ask for
all rows in a cf" and to receive some kind of stream and read the rows one by one from that
stream instead of receiving all rows and then iterating over them (and being limited by the
count of rows). Of course client side libraries could hide the paging stuff, but that would
not improve latency.
Is something like this possible? Is it perhaps already implemented?


Greetings,
roland
--
YOOCHOOSE GmbH

Roland Gude
Software Engineer

Im Mediapark 8, 50670 Köln

+49 221 4544151 (Tel)
+49 221 4544159 (Fax)
+49 171 7894057 (Mobil)


Email: roland.gude@yoochoose.com
WWW: www.yoochoose.com<http://www.yoochoose.com/>

YOOCHOOSE GmbH
Geschäftsführer: Dr. Uwe Alkemper, Michael Friedmann
Handelsregister: Amtsgericht Köln HRB 65275
Ust-Ident-Nr: DE 264 773 520
Sitz der Gesellschaft: Köln


Mime
View raw message