Re: user / password authentication advice

2013-12-11 Thread onlinespending
using Java (or Scala or Groovy or anything else > JVM-based), Apache Shiro is a good way of doing user authentication and > authorization. http://shiro.apache.org/. Just implement a custom Realm for > Cassandra and you should be set. > > /Janne > > On Dec 12, 2013, at 05:3

user / password authentication advice

2013-12-11 Thread onlinespending
Hi, I’m using Cassandra in an environment where many users can login to use an application I’m developing. I’m curious if anyone has any advice or links to documentation / blogs where it discusses common implementations or best practices for user and password authentication. My cursory search o

efficient way to store 8-bit or 16-bit value?

2013-12-11 Thread onlinespending
What do people recommend I do to store a small binary value in a column? I’d rather not simply use a 32-bit int for a single byte value. Can I have a one byte blob? Or should I store it as a single character ASCII string? I imagine each is going to have the overhead of storing the length (or nul

Re: Exactly one wide row per node for a given CF?

2013-12-10 Thread onlinespending
en, given you total control of the row placement. > > Cheers > > > - > Aaron Morton > New Zealand > @aaronmorton > > Co-Founder & Principal Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com > > On 4/12/2013, at 8:32

Re: Exactly one wide row per node for a given CF?

2013-12-10 Thread onlinespending
ww.thelastpickle.com > > On 4/12/2013, at 8:32 pm, Vivek Mishra wrote: > >> So Basically you want to create a cluster of multiple unique keys, but data >> which belongs to one unique should be colocated. correct? >> >> -Vivek >> >> >> On Tue,

Re: Exactly one wide row per node for a given CF?

2013-12-04 Thread onlinespending
; > On Tue, Dec 3, 2013 at 10:39 AM, onlinespending > wrote: > Subject says it all. I want to be able to randomly distribute a large set of > records but keep them clustered in one wide row per node. > > As an example, lets say I’ve got a collection of about 1 million records ea

Exactly one wide row per node for a given CF?

2013-12-02 Thread onlinespending
Subject says it all. I want to be able to randomly distribute a large set of records but keep them clustered in one wide row per node. As an example, lets say I’ve got a collection of about 1 million records each with a unique id. If I just go ahead and set the primary key (and therefore the pa

Inefficiency with large set of small documents?

2013-11-25 Thread onlinespending
I’m trying to decide what noSQL database to use, and I’ve certainly decided against mongodb due to its use of mmap. I’m wondering if Cassandra would also suffer from a similar inefficiency with small documents. In mongodb, if you have a large set of small documents (each much less than the 4KB p