Hacker News new | ask | show | jobs
by bulldoa 3211 days ago
any recommendation and resources to read up on for when to use cassandra and how to design the schema?
3 comments

Use Cassandra when you need real time HA cross datacenter without having to manually fail over

Use Cassandra when you're going to need to grow our database cluster often and don't have tooling to handle resharding

Use Cassandra when you do millions of simple queries (per second), not a handful of complex JOINs

I've used Cassandra at 3 different employers now, and I can't imagine using anything else for many use cases, but there will always be some where it's the wrong choice.

I like that your comment's denormalised for better use with Cassandra.
When you need a key value store that can easily and mostly consistently and with low latency replicate across multiple data centers (or aws regions), in multi master setups.

In all other cases you'll probably be better off with Postgres, MySQL or similar.

Using Cassandra as a key value store is ok, but ignores one is it's legit strengths.
Check out their training:

https://academy.datastax.com/courses

Once you make it past the videos trying to sell you on NoSQL, they are incredibly informational.