Are there any data modeling exercises for Cassandra like Retwis for Redis?
-
22-09-2019 - |
Question
I'm trying to learn how to map the entities/actors/objects/things in my application for storage in Cassandra. There was a great tutorial for Redis on modeling Twitter data and typical access patterns called Retwis [1]. I've found a couple of examples for Cassandra.
How did you start to gain an intuition for Cassandra's data model?
Solution
http://github.com/ericflo/twissandra is a twitter clone in the same vein as retwis, originally for 0.3 and now being updated for 0.6. Catch erifclo in #cassandra on irc if you have questions.
OTHER TIPS
you should start with WTF is a SuperColumn to understand the data model.
up and running with cassandra is also a very good starting tutorial and it has example schemas for a blog and for twitter.