Re: A question to 'paging' support in DataStax java driver

2016-05-10 Thread Sebastian Estevez
2016 1:09 AM, "Lu, Boying" wrote: > >> I filed a JIRA https://issues.apache.org/jira/browse/CASSANDRA-11741 to >> track this. >> >> >> >> *From:* DuyHai Doan [mailto:doanduy...@gmail.com] >> *Sent:* 2016年5月10日 12:47 >> *To:* user@cassandra.ap

RE: A question to 'paging' support in DataStax java driver

2016-05-10 Thread Sebastian Estevez
> track this. > > > > *From:* DuyHai Doan [mailto:doanduy...@gmail.com] > *Sent:* 2016年5月10日 12:47 > *To:* user@cassandra.apache.org > *Subject:* Re: A question to 'paging' support in DataStax java driver > > > > I guess it's technically possible but then we

RE: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
I filed a JIRA https://issues.apache.org/jira/browse/CASSANDRA-11741 to track this. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: 2016年5月10日 12:47 To: user@cassandra.apache.org Subject: Re: A question to 'paging' support in DataStax java driver I guess it's technically po

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
nd server. > > > > > > *From:* DuyHai Doan [mailto:doanduy...@gmail.com] > *Sent:* 2016年5月9日 21:06 > *To:* user@cassandra.apache.org > *Subject:* Re: A question to 'paging' support in DataStax java driver > > > > In a truly consistent world (should I

RE: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Lu, Boying
some bandwidth between client and server. From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: 2016年5月9日 21:06 To: user@cassandra.apache.org Subject: Re: A question to 'paging' support in DataStax java driver In a truly consistent world (should I say "snapshot isolation" world i

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
In a truly consistent world (should I say "snapshot isolation" world instead), re-reading the same page should yield the same results no matter how many new inserts have occurred since the last page read. Caching previous page at app level can be a solution but not viable if the amount of data is

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread Bhuvan Rawal
Hi Doan, What does it have to do being eventual consistency? Lets assume a scenario with complete consistency and we are at page X, and at the same time some inserts/updates happened at page X-2 and we jumped to that. User will see inconsistent page in that case as well, right? Also in such cases

Re: A question to 'paging' support in DataStax java driver

2016-05-09 Thread DuyHai Doan
"Is it possible to just return PagingState object without returning data?" --> No Simply because before reading the actual data for each page of N rows, you cannot know at which token value a page of data starts... And it is worst than that, with paging you don't have any isolation. Let's suppose