3 ms·
Cassandra is a pretty good NoSQL database. I'm a big fan of it. Of course if your data change often and very quickly you shouldn't be using Cassandra. You'll e
by digitalzombie 11y ago
Cassandra is a pretty good NoSQL database. I'm a big fan of it.
Of course if your data change often and very quickly you shouldn't be using Cassandra. You'll end up tombstone death. Deletes are not real delete, they're soft and just have a timestamp that eventually will be deleted (tombstone). Every delete creates a tombstone, if you're hashkey/column key have 50 tombstones, it have to go through those tombstones before getting the values. The reason is some trade off for faster write but shitty read if you update a lot of the same key.
Overall, one way of thinking of it is a souped up hashkey db that can do some relational queries which is much more than the usual hash key noSQL. Seeing how it's a hash key type database you can see the trade off of Cassandra and it's siblings versus say MongoDB or CouchDB.
I used it for time related stuff that has simple data. It's mostly immuatable so cassandra was perfect for it. Example is a daily tv show release date.
- jermo 11y agoIncreasing the size of memtables should reduce the tombestone overhead since entries will get overwritten in memory.