Jump to ratings and reviews
Rate this book

Cassandra Design Patterns

Rate this book
This is a step-by-step guide to understanding and using Cassandra in the real world. The book starts with the origins and capabilities of Cassandra and then allows the reader to journey through various real world use cases where Cassandra can be used successfully. The book also deep dives into how to use Cassandra for these use cases and applying the right design patterns.If you are an architect or developer wanting to design real world applications using Cassandra, this book is ideal for you. It would be helpful to have a background in Cassandra or programming concepts, but the book is readable for general users who have experience in any programming language or are aware of RDBMS solutions.

88 pages, ebook

First published January 1, 2014

1 person is currently reading
15 people want to read

About the author

Sanjay Sharma

208 books36 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (12%)
4 stars
8 (32%)
3 stars
8 (32%)
2 stars
4 (16%)
1 star
2 (8%)
Displaying 1 - 4 of 4 reviews
Profile Image for Arthur.
96 reviews5 followers
April 23, 2014
Cassandra Design Patterns is a relatively short overview of both patterns and anipatterns for an IT professional entering the NoSQL/NewSQL world in retrospect to possible Cassanra database implementations in particular.

The book covers Cassandra up to the most recent version of 2.0 where a few new features were introduced.

My experience with Cassandra was in versions prior to 2.0. And I needed to learn the hard way, now thanks to Sanjay and Packt there is a book to help decide where Cassandra would be a good fit, or not.

The book is easy to read, although, it exhibits very few lines of code. It may be seen as a disadvantage, but showing coding examples against Cassandra would require a separate setup.

My overall feel about the book however as if it remains somewhat incomplete, a tad hastily written with some proof-reading pending. Also it can be improved by bringing up some real-life, concrete usage examples. For example, there is no information on how to use the client code properly, e.g. why an RPC timeout is possible (query return result limits) and therefore paging on the client side is necessary. There was no hint on maximum recommended data node size (that stands at around 300 GB per node). As an aside, Cassandra requires a shift in IT operations. Suddenly a shop would need to deal with a cluster. Typically of several nodes. And it would be a totally new beast to manage, with its own challenges.
Likewise, there is no good explanation on the major differences between the Apache vs DataStax Cassandra distributions, Host OS choices and overall best setup practices.
On the positive side the book does cover major Cassandra database lifecycle events as Antientrophy, Snitches, Compaction, etc.

In my view, this book is targeting team leaders new to the NoSQL, BigData notion running fast growing in popularity webscale apps that require a new kind of data persistence layer and ease of development against, or managers looking into replacing their underperforming OLTP databases. This book would help narrowing down a list of candidate NoSQL/Key-Value store databases while you are is in pre-POC mode.

My verdict is a 3 out of 5 stars.
1 review
August 10, 2014
Before posing my opinion on this book, I have to clarify the usage of the term “Design Pattern” within it, which confused me at first. The author doesn’t use the term in the way you would expect considering Design Patterns proposed by the Gang Of Four, but rather for real world use cases Cassandra is able to solve efficiently.

If you are new to the NoSQL world and/or Cassandra this book will provide you with a concise intro chapter about Cassandra’s origins and its underlying principles like the CAP theorem. Even if you know about all this already, this short and solid recap will get those things back into your memory.

The main content of “Cassandra Design Patterns” consists of specialized real world use cases one can and can’t solve with Cassandra and their descriptions. It’s interesting to see which applications one can realize with the system out of the box and with the help and integration of external tools. The descriptions are easy to understand and short, but that’s also the weak point in my opinion. There are just a few examples (including code), no real in-depth insights how one can achieve the solutions and hardly any backing evidence why those patterns will work efficiently.

Long story short: A quite interesting afternoon read, but that’s it.

Official URL to the book: https://www.packtpub.com/networking-a...
1 review
July 21, 2014
Cassandra Design Patterns is very brief and to the point book.This book is not for beginners and is more suitable for architect and developer roles. It starts with a brief history of Cassandra to explain what are the key advantages of Cassandra and how are they achieved under the hood. The Book then makes a short reference to the GoF patterns and introduces the 3V (Volume, Velocity, Variety) Model and explains it in the context of the Big Data. The author then describes in short the common patterns solvable with the Cassandra and gives tips how to implement them. Every presented pattern is described with the problem-intent, context-applicability, forces-motivations, solution summary and an example. I found the description of Complex Event Processing pattern to be very useful. The good part about this book is that it also has a chapter called Patterns and Anti-patterns where the author describes when not to use Cassandra. As developer I used some of the techniques presented in this book especially the reversed indexes described in the chapter about the Needle in a Haystack pattern. All in all i find this book a nice and decent read for any Cassandra developer or architect.
Author 2 books1 follower
January 18, 2015
I really enjoyed Cassandra Design Patterns and recommended it to anyone interested in learning about Cassandra. Author touched most of all main topics of Cassandra and explained very easily. Now we are depends on Datastax to get any documentation about Cassandra and documentation about Cassandra is not very available. This book could be a major source of information to decided when and how to use Cassandra for real life problem. Thank'x to author Sanjay Sharma for such a nice book and Packt publication to give me a change to review this book.
You can read the full review of the book herehttp://frommyworkshop.blogspot.ru/201...
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.