Re: List of List

2016-03-01 Thread Sandeep Kalra
Thanks Everyone. I am not using thrift. I am reading CQL and understanding to use it. Best Regards, Sandeep Kalra On Tue, Mar 1, 2016 at 9:51 PM, Dani Traphagen wrote: > Hey Sandeep, > > It's good to understand why using Thrift isn't a good idea so I'll help > with that. You'll mostly hear pe

Re: List of List

2016-03-01 Thread Dani Traphagen
Hey Sandeep, It's good to understand why using Thrift isn't a good idea so I'll help with that. You'll mostly hear people say RUN AWAY FROM THRIFT WITH THE MIGHTY STRIDE OF A GAZELLE. The reason why is that it's old and not supported. You'll end up with a broken pile of parts and you definitely do

Re: List of List

2016-03-01 Thread Robert Coli
On Tue, Mar 1, 2016 at 3:23 PM, Jonathan Haddad wrote: > Thrift is deprecated, and will be removed in Cassandra 4.0 Don't do any > new development with it. > +infinity this. =Rob

Re: List of List

2016-03-01 Thread Jonathan Haddad
Thrift is deprecated, and will be removed in Cassandra 4.0 Don't do any new development with it. What video says to use thrift? On Tue, Mar 1, 2016 at 2:29 PM Sandeep Kalra wrote: > I am in very early stage , so, I can change. Infact, the videos you > pointed also says to do so... > > > Best R

Re: List of List

2016-03-01 Thread Sandeep Kalra
I am in very early stage , so, I can change. Infact, the videos you pointed also says to do so... Best Regards, Sandeep Kalra On Tue, Mar 1, 2016 at 3:58 PM, Jack Krupansky wrote: > Thrift? Hah! Sorry, I can't help you if you are going that route. I > recommend CQL - only. > > -- Jack Krupans

Re: List of List

2016-03-01 Thread Jack Krupansky
Thrift? Hah! Sorry, I can't help you if you are going that route. I recommend CQL - only. -- Jack Krupansky On Tue, Mar 1, 2016 at 4:47 PM, Sandeep Kalra wrote: > The way I was planning is to give a restful interface to lookup details of > a question, and then user must get complete list of ans

Re: List of List

2016-03-01 Thread Sandeep Kalra
The way I was planning is to give a restful interface to lookup details of a question, and then user must get complete list of answers and its comments. I am using thrift interface and node-js to serve it. Search on questions are using subject tag and/or its content, Best Regards, Sandeep Kalra

Re: List of List

2016-03-01 Thread Jack Krupansky
Okay, so a very large number of questions, each with a very modest number of answers (generally under 5), each with a modest number of comments (generally under 5). Now we're back to the issue of how you wish to query and access the data. -- Jack Krupansky On Tue, Mar 1, 2016 at 12:39 PM, Sandee

Re: List of List

2016-03-01 Thread Sandeep Kalra
Thanks a lot. I have started with the videos too..I will get back if I see any problem. Best Regards, Sandeep Kalra On Tue, Mar 1, 2016 at 12:36 PM, Jonathan Haddad wrote: > I'd do something like this: > > CREATE TABLE questions ( > question_id timeuuid primary key, > question text >

Re: List of List

2016-03-01 Thread Jonathan Haddad
I'd do something like this: CREATE TABLE questions ( question_id timeuuid primary key, question text ); CREATE TABLE answers ( question_id timeuuid, answer_id timeuuid, answer text, primary key(question_id, answer_id) ); CREATE TABLE comments ( answer_id timeuuid,

Re: List of List

2016-03-01 Thread Sandeep Kalra
​I do not have limit of number of Answers or its comments.​ Assume it to be clone of StackOverflow.. Best Regards, Sandeep Kalra On Tue, Mar 1, 2016 at 11:29 AM, Jack Krupansky wrote: > Clustering columns are your friends. > > But the first question is how you need to query the data. Queries

Re: List of List

2016-03-01 Thread Jonathan Haddad
You probably want to watch some intro videos on Datastax Academy. https://academy.datastax.com/ I suggest the intro video to some basics down: https://academy.datastax.com/courses/ds101-introduction-cassandra and then core concepts, a pretty thorough intro: https://academy.datastax.com/courses/ds2

Re: List of List

2016-03-01 Thread Jack Krupansky
Clustering columns are your friends. But the first question is how you need to query the data. Queries drive data models in Cassandra. What is the cardinality of this data - how many answers per question and how many comments per answer? -- Jack Krupansky On Tue, Mar 1, 2016 at 12:23 PM, Sande