O'Reilly logo

Mastering Apache Cassandra by Nishant Neeraj

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Patterns and antipatterns

One of the main difficulties that a developer who is new to the NoSQL paradigm faces is the lack of an example solution to a similar question they are facing. There is plenty of documentation available on how to do things in a traditional RDBMS, and a developer gets some degree of comfort on implementing an already-examined pattern. This is not true with NoSQL data stores. There are many techniques that are being used, which are relatively inefficient. One such example is the use of super columns, which we saw in The super column section. With time, more and more best practices and dos and don'ts are emerging. Here we will see some of the commonly advised usage patterns for Cassandra.

Avoid storing an entity in a single ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required