Re: Batch read requests to one physical host?

2016-10-19 Thread Nate McCall
I see a few slightly different things here (equally valuable) in conjunction with CASSANDRA-10414: - Wanting a small number of specific, non-sequential rows out of the same partition (this is common, IME) and grouping those - Extending batch semantics to reads with the same understanding with

Re: Batch read requests to one physical host?

2016-10-19 Thread Tyler Hobbs
There's a similar ticket focusing on range reads and secondary index queries, but the work for these could be done together: https://issues.apache.org/jira/browse/CASSANDRA-10414 On Tue, Oct 18, 2016 at 5:59 PM, Dikang Gu wrote: > Hi there, > > We have couple use cases that

Re: Batch read requests to one physical host?

2016-10-18 Thread Eric Stevens
We've had some luck with bulk known key reads with grouping by replica and doing SELECT... WHERE key IN(...). Not compatible with all data models, but it works well where we can get away with it. As a more general purpose construct it makes sense to me. In our driver layer we have abstracted