Cassandra as Database for Role Based Access Control System

2012-03-20 Thread Maciej Miklas
Hi *, I would like to know your opinion about using Cassandra to implement a RBAC-like authentication authorization model. We have simplified the central relationship of the general model ( http://en.wikipedia.org/wiki/Role-based_access_control) to: user ---n:m--- role ---n:m--- resource

Re: Cassandra as Database for Role Based Access Control System

2012-03-20 Thread aaron morton
user ---n:m--- role ---n:m--- resource I'm not sure what this means. While some inconsistencies may be acceptable, resource ownership (i.e. role=owner) must never ever be mixed up. If you are working at a high enough Consistent Level there Cassandra will provide consistent behaviour.

Re: Cassandra as Database for Role Based Access Control System

2012-03-20 Thread Maki Watanabe
user ---n:m--- role ---n:m--- resource It can work, but Cassandra is not RDBMS as you know, so RDBMS-ish data modeling may not fit in production. (depends on your requirement on performance. I'm not sure.) In general you should better to desgin schema from your access pattern. maki 2012/3/20