更新时间:2021-07-14 10:24:36
封面
版权页
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Cassandras Approach to High Availability
Introducing the ACID properties
Monolithic simplicity
Scaling consistency - the master-slave model
Breaking with tradition - Cassandra's alternative
Cassandra's peer-to-peer approach
Summary
Chapter 2. Data Distribution
Hash table fundamentals
Consistent hashing
Token assignment
Partitioners
Chapter 3. Replication
The replication factor
Snitches
Consistency conflicts
Balancing the replication factor with consistency
Chapter 4. Data Centers
Use cases for multiple data centers
Data center setup
Replication across data centers
Chapter 5. Scaling Out
Choosing the right hardware configuration
Scaling out versus scaling up
Growing your cluster
How to scale up
Removing nodes
Other data migration scenarios
Snitch changes
Chapter 6. High Availability Features in the Native Java Client
Thrift versus the native protocol
Setting up the environment
Connecting to the cluster
Executing statements
Handling asynchronous requests
Load balancing
Tying it all together
Chapter 7. Modeling for Availability
How Cassandra stores data
Understanding compaction
CQL under the hood
Understanding queries
Denormalizing using collections
Denormalizing with materialized views
Working with time series data
Working with geospatial data
Chapter 8. Anti-Patterns
Multi-key queries
Secondary indices
Distributed joins
Deleting data
Unbounded row growth
Chapter 9. Failing Gracefully
Knowledge is power
Logging
Monitoring node metrics
When a node goes down
Backing up data