Book description
Imagine what you could do if scalability wasn't a problem. With this hands-on guide, you'll learn how the Cassandra database management system handles hundreds of terabytes of data while remaining highly available across multiple data centers. This revised third edition--updated for Cassandra 4.0 and new developments in the Cassandra ecosystem, including deployments in Kubernetes with K8ssandra--provides technical details and practical examples to help you put this database to work in a production environment.
Authors Jeff Carpenter and Eben Hewitt demonstrate the advantages of Cassandra's nonrelational design, with special attention to data modeling. Developers, DBAs, and application architects looking to solve a database scaling issue or future-proof an application will learn how to harness Cassandra's speed and flexibility.
- Understand Cassandra's distributed and decentralized structure
- Use the Cassandra Query Language (CQL) and cqlsh (the CQL shell)
- Create a working data model and compare it with an equivalent relational model
- Design and develop applications using client drivers
- Explore cluster topology and learn how nodes exchange data
- Maintain a high level of performance in your cluster
- Deploy Cassandra onsite, in the cloud, or with Docker and Kubernetes
- Integrate Cassandra with Spark, Kafka, Elasticsearch, Solr, and Lucene
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Beyond Relational Databases
- 2. Introducing Cassandra
- 3. Installing Cassandra
- 4. The Cassandra Query Language
- 5. Data Modeling
-
6. The Cassandra Architecture
- Data Centers and Racks
- Gossip and Failure Detection
- Snitches
- Rings and Tokens
- Virtual Nodes
- Partitioners
- Replication Strategies
- Consistency Levels
- Queries and Coordinator Nodes
- Hinted Handoff
- Anti-Entropy, Repair, and Merkle Trees
- Lightweight Transactions and Paxos
- Memtables, SSTables, and Commit Logs
- Bloom Filters
- Caching
- Compaction
- Deletion and Tombstones
- Managers and Services
- System Keyspaces
- Summary
- 7. Designing Applications with Cassandra
- 8. Application Development with Drivers
- 9. Writing and Reading Data
- 10. Configuring and Deploying Cassandra
- 11. Monitoring
- 12. Maintenance
- 13. Performance Tuning
- 14. Security
- 15. Migrating and Integrating
- Index
- About the Authors
Product information
- Title: Cassandra: The Definitive Guide, (Revised) Third Edition, 3rd Edition
- Author(s):
- Release date: January 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492097143
You might also like
book
Kafka: The Definitive Guide, 2nd Edition
Every enterprise application creates data, whether it consists of log messages, metrics, user activity, or outgoing …
book
Database Internals
When it comes to choosing, using, and maintaining a database, understanding its internals is essential. But …
book
Kafka: The Definitive Guide
Every enterprise application creates data, whether it’s log messages, metrics, user activity, outgoing messages, or something …
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …