Book description
Build an efficient, scalable, fault-tolerant, and highly-available data layer into your application using Cassandra
In Detail
Cassandra is a distributed database that stands out for its robust feature set and intuitive interface, while still providing the high availability and scalability of a distributed store.
Starting from installing Cassandra and creating your first keyspace, to mastering the different table structures Cassandra offers and exploring the latest and most powerful features of the Cassandra Query Language, CQL3, this book explores each topic through the lens of a real-world example application. With plenty of examples, tips, and clear explanations, you'll master compound primary keys, collection columns, lightweight transactions, and many other advanced aspects of Cassandra.
By the end of the book, you'll be fully equipped to build powerful, scalable Cassandra database layers for your applications.
What You Will Learn
- Install Cassandra and create your first keyspace
- Choose the right table structure for the task at hand in a variety of scenarios
- Use range slice queries for efficient data access
- Effortlessly handle concurrent updates with collection columns
- Ensure data integrity with lightweight transactions and logged batches
- Understand eventual consistency and use the right consistency level for your situation
- Implement best practices for data modeling and access
Table of contents
-
Learning Apache Cassandra
- Table of Contents
- Learning Apache Cassandra
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Up and Running with Cassandra
- 2. The First Table
- 3. Organizing Related Data
- 4. Beyond Key-Value Lookup
- 5. Establishing Relationships
- 6. Denormalizing Data for Maximum Performance
- 7. Expanding Your Data Model
-
8. Collections, Tuples, and User-defined Types
- The problem with concurrent updates
- Collection columns and concurrent updates
- Using lists for ordered, nonunique values
- Using maps to store key-value pairs
- Collections in inserts
- Collections and secondary indexes
- The limitations of collections
- Working with tuples
- User-defined types
- Choosing between tuples and user-defined types
- Comparing data structures
- Summary
- 9. Aggregating Time-Series Data
- 10. How Cassandra Distributes Data
- A. Peeking Under the Hood
- B. Authentication and Authorization
- Index
Product information
- Title: Learning Apache Cassandra
- Author(s):
- Release date: February 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783989201
You might also like
video
Learning Apache Cassandra
In this Apache Cassandra training course, expert author Ruth Stryker teaches you the basics of working …
book
Beginning Apache Cassandra Development
Beginning Apache Cassandra Development introduces you to one of the most robust and best-performing NoSQL database …
book
Expert Apache Cassandra Administration
Follow this handbook to build, configure, tune, and secure Apache Cassandra databases. Start with the installation …
book
Apache Cassandra Essentials
Create your own massively scalable Cassandra database with highly responsive database queries About This Book Create …