Re: cassandra out of heap space crash

2010-06-11 Thread William Ashley
Would it be reasonable to have (possibly configurable) caps on the maximum size of any internal Cassandra queues that are directly populated by client requests? I understand this might mean sometimes breaking the API contract for writers using CL.ZERO by blocking on those calls, but on the other

Re: Lucandra

2010-06-06 Thread William Ashley
Have you looked at Solr? Chances are it meets for your needs, and it is much simpler than Lucandra. On Jun 6, 2010, at 7:44 AM, David Boxenhorn wrote: > We're thinking of using Lucandra. We already use Lucene, but not in a > production-level environment, and we are concerned about the problem

Re: Is SuperColumn necessary?

2010-05-10 Thread William Ashley
menter, time, text, ...} > } > > a comment-id is generated on-the-fly when the comment is made. how do you > flatten the comment-id supercolumn to normal column? just for brain > exercise, not meant to pick on you. > > thanks, > -aj > > > > On Mon,

Re: Is SuperColumn necessary?

2010-05-10 Thread William Ashley
If you're storing your super column under a fixed name, you could just concatenate that name with the row key and use normal columns. Then you get your paging and sorting the way you want it. On May 10, 2010, at 4:31 PM, AJ Chen wrote: > supercolumn is good for modeling profile type of data. s

Re: Data Modeling Conundrum

2010-05-10 Thread William Ashley
4b-11df-a08a-0800200c9a66’, > history : 0x000., // serialized array of N timestamp/uuid pairs (24 > bytes per pair) > } > > On Sat, May 8, 2010 at 3:54 PM, William Ashley wrote: > That is a good question, because realistically I see N being under 10, and > there are no current

Re: Data Modeling Conundrum

2010-05-08 Thread William Ashley
On May 8, 2010, at 3:42 PM, Ed Anuff wrote: > Sorry, missed that. I'm not sure if there's a cleaner way than using the > approaches you've looked at, hopefully someone else has an answer. How big > is N and do you need to keep more than N around? > > On Sat, May 8,

Re: Data Modeling Conundrum

2010-05-08 Thread William Ashley
t; > On Fri, May 7, 2010 at 8:31 PM, William Ashley wrote: > > Hopefully I’ve sufficiently explained what I’m trying to do. Now on to > solving this problem in Cassandra. I’ve been trying to find a way that allows > both of the above operations to be performed efficiently. Update

Re: Data Modeling Conundrum

2010-05-08 Thread William Ashley
.. > > > On Sat, May 8, 2010 at 9:01 AM, William Ashley wrote: > List, > I have a case where visitors to a site are tracked via a persistent cookie > containing a guid. This cookie is created and set when missing. Some of these > visitors are logged in, meaning a userId ma

Data Modeling Conundrum

2010-05-07 Thread William Ashley
List, I have a case where visitors to a site are tracked via a persistent cookie containing a guid. This cookie is created and set when missing. Some of these visitors are logged in, meaning a userId may also be available. What I’m looking to do is have a way to associate each userId with all of