-
1. Re: Multi-tenancy
theute Oct 14, 2014 3:23 AM (in response to john.sanda)Ok thanks for the info, if Cassandra scale with extremely large tables then fine.
I guess that in this case we can't use the Cassandra access control ability. It may not be a problem but I would like to know what we gain/lose in the 2 approaches.
-
2. Re: Multi-tenancy
theute Oct 14, 2014 6:58 AM (in response to theute)I guess a single table has the drawback that data will more likely span multiple storage nodes while we may be able to segregate better the data of 1 tenant on 1 node if we use the other approach
-
3. Re: Multi-tenancy
john.sanda Oct 14, 2014 7:43 AM (in response to theute)Thomas Heute wrote:
Ok thanks for the info, if Cassandra scale with extremely large tables then fine.
I guess that in this case we can't use the Cassandra access control ability. It may not be a problem but I would like to know what we gain/lose in the 2 approaches.
It is my understanding that Cassandra does scale well with very large tables.
Hmm...that's a good point/question about Cassandra's access control. I will look into this to see what options we might have. The authentication/authorization components are pluggable, so if nothing else maybe we explore the possibility of implementing our own.
-
4. Re: Multi-tenancy
john.sanda Oct 14, 2014 1:55 PM (in response to theute)Thomas Heute wrote:
I guess a single table has the drawback that data will more likely span multiple storage nodes while we may be able to segregate better the data of 1 tenant on 1 node if we use the other approach
This is not the case with Cassandra. Whether there is a single table or separate tables per tenant, the data will span multiple nodes. What you are describing might be more easily achievable in systems that do sharding like HBase, MongoDB, and even InfluxDB; however, sharding has its drawbacks as a strategy for partitioning data.