Cassandra Data Modeling and Analysis

Design, build, and analyze your data intricately using Cassandra

Cassandra Data Modeling and Analysis

Learning
C Y Kan

Design, build, and analyze your data intricately using Cassandra
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2016

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781783988884
Paperback196 pages

Book Description

Starting with a quick introduction to Cassandra, this book flows through various aspects such as fundamental data modeling approaches, selection of data types, designing a data model, choosing suitable keys and indexes through to a real-world application, all the while applying the best practices covered in this book.

Although the application is small, you will be involved in the full development life cycle. You will go through the design considerations of coming up with a flexible and sustainable data model for a stock market technical-analysis application written in Python. As business changes continually and so does a data model, you will also learn the techniques of evolving a data model to address new business requirements. Running a web-scale Cassandra cluster requires many careful considerations such as evolving a data model, performance tuning, and system monitoring. This book is an invaluable tutorial for anyone who wants to adopt Cassandra.

Table of Contents

Chapter 1: Bird's Eye View of Cassandra
What is NoSQL?
What is Cassandra?
Cassandra's high-level architecture
Features of Cassandra
Summary
Chapter 2: Cassandra Data Modeling
What is unique to the Cassandra data model?
Modeling by query
Data modeling considerations
Cassandra Query Language
Summary
Chapter 3: CQL Data Types
Introduction to CQL
Collections
User-defined type and tuple type
Summary
Chapter 4: Indexes
Primary index
Compound primary key and composite partition key
Partitioner
Secondary indexes
Summary
Chapter 5: First-cut Design and Implementation
Stock Screener Application
System design
Code design and development
Test run
Summary
Chapter 6: Enhancing a Version
Evolving the data model
Enhancing the code
Implementing system changes
Summary
Chapter 7: Deployment and Monitoring
Replication strategies
Monitoring
Performance tuning
Summary
Chapter 8: Final Thoughts
Supplementary information
Useful websites
Summary

What You Will Learn

  • Discover the unique way of query-driven data modeling in Cassandra
  • Explore the differences between a data model of a relational database and that of Cassandra
  • Master the correct uses of the primary index, composite key, compound key, and secondary index
  • Design a high-performance Cassandra data model
  • Develop a complete, real-world technical-analysis application for the stock market
  • Grasp the techniques of evolving a data model in production
  • Determine effective performance tuning, replication, and system-monitoring strategies

Authors

Table of Contents

Chapter 1: Bird's Eye View of Cassandra
What is NoSQL?
What is Cassandra?
Cassandra's high-level architecture
Features of Cassandra
Summary
Chapter 2: Cassandra Data Modeling
What is unique to the Cassandra data model?
Modeling by query
Data modeling considerations
Cassandra Query Language
Summary
Chapter 3: CQL Data Types
Introduction to CQL
Collections
User-defined type and tuple type
Summary
Chapter 4: Indexes
Primary index
Compound primary key and composite partition key
Partitioner
Secondary indexes
Summary
Chapter 5: First-cut Design and Implementation
Stock Screener Application
System design
Code design and development
Test run
Summary
Chapter 6: Enhancing a Version
Evolving the data model
Enhancing the code
Implementing system changes
Summary
Chapter 7: Deployment and Monitoring
Replication strategies
Monitoring
Performance tuning
Summary
Chapter 8: Final Thoughts
Supplementary information
Useful websites
Summary

Book Details

ISBN 139781783988884
Paperback196 pages
Read More

Read More Reviews