A Newbie’s Guide to Cassandra
blog.insightdatascience.com
A Newbie’s Guide to Cassandra
1–10 of 26 posts
Re: A Newbie’s Guide to Cassandra
#2Re: A Newbie’s Guide to Cassandra
#3The lesson here is to think long and hard about how you are going to access your data before switching to a database like Cassandra. This will help you decide if Cassandra is the right database to fit your use-cases. If so, be sure to model your data appropriately.
In this case, based on how the company wants to query the data, they would have been better off with PostgeSQL.
Re: A Newbie’s Guide to Cassandra
#4"Total Newbie" apparently means well-versed in database paradigms and terminology.
Re: A Newbie’s Guide to Cassandra
#5These days I work with Cassandra on a daily basis. The company I am contracting with switched to Cassandra a while back for their primary data store. A few poor decisions later and they were spending tens of thousands of dollars a month running Cassandra in Azure. The cost was high because they modeled and queried their data like they were still using a SQL database which was incredibly inefficient. The lesson here i…
That's literally every Cassandra database I've ever encountered in the wild.
If you use Cassandra, you WILL need to duplicate data across tables for lookups. Don't use Cassandra if you can't stomach that fact (and the disk bills that come with it).
Re: A Newbie’s Guide to Cassandra
#6These days I work with Cassandra on a daily basis. The company I am contracting with switched to Cassandra a while back for their primary data store. A few poor decisions later and they were spending tens of thousands of dollars a month running Cassandra in Azure. The cost was high because they modeled and queried their data like they were still using a SQL database which was incredibly inefficient. The lesson here i…
Re: A Newbie’s Guide to Cassandra
#7> Cassandra’s data model is a partitioned row store with tunable consistency where each row is an instance of a column family that follows the same schema "Total Newbie" apparently means well-versed in database paradigms and terminology.
Re: A Newbie’s Guide to Cassandra
#8I think that Cassandra is best thought of as a fancy K/V store that lets extra data ride along with query results. Don't think of rows/columns at first, it will just screw you up in your modeling. Also keep in mind that the cost for very fast queries is a lot of extra time spent figuring out how to model new data access patterns in the future.
Re: A Newbie’s Guide to Cassandra
#9This transition has been causing confusion for at least 5 years now, and it appears people are still using the old terminology! https://www.datastax.com/dev/blog/thrift-to-cql3
Re: A Newbie’s Guide to Cassandra
#10It took a lot of experimentation to get right, but once I did, scaling started to mean smaller drives and more nodes, which meant a more expensive cluster, for which I was largely paying for my CPUs to repair and garbage collect data.
Other than ops however, Cassandra is a great tool and does everything it says it does on the box.