Cassandra the definitive guide
What could you do with data if scalability wasn't a problem? With this hands-on guide, you'll learn how Apache Cassandra handles hundreds of terabytes of data while remaining highly available across multiple data centers -- capabilities that have attracted Facebook, Twitter, and other data...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing ; Sebastopol, California :
O'Reilly
2011.
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628089406719 |
Tabla de Contenidos:
- Table of Contents; Foreword; Preface; Why Apache Cassandra?; Is This Book for You?; What's in This Book?; Finding Out More; Conventions Used in This Book; Using Code Examples; Safari® Enabled; How to Contact Us; Acknowledgments; Chapter 1. Introducing Cassandra; What's Wrong with Relational Databases?; A Quick Review of Relational Databases; RDBMS: The Awesome and the Not-So-Much; Transactions, ACID-ity, and two-phase commit; Schema; Sharding and shared-nothing architecture; Summary; Web Scale; The Cassandra Elevator Pitch; Cassandra in 50 Words or Less; Distributed and Decentralized
- Elastic ScalabilityHigh Availability and Fault Tolerance; Tuneable Consistency; Brewer's CAP Theorem; Row-Oriented; Schema-Free; High Performance; Where Did Cassandra Come From?; Use Cases for Cassandra; Large Deployments; Lots of Writes, Statistics, and Analysis; Geographical Distribution; Evolving Applications; Who Is Using Cassandra?; Summary; Chapter 2. Installing Cassandra; Installing the Binary; Extracting the Download; What's In There?; Building from Source; Additional Build Targets; Building with Maven; Running Cassandra; On Windows; On Linux; Starting the Server
- Running the Command-Line Client InterfaceBasic CLI Commands; Help; Connecting to a Server; Describing the Environment; Creating a Keyspace and Column Family; Writing and Reading Data; Summary; Chapter 3. The Cassandra Data Model; The Relational Data Model; A Simple Introduction; Clusters; Keyspaces; Column Families; Column Family Options; Columns; Wide Rows, Skinny Rows; Column Sorting; Super Columns; Composite Keys; Design Differences Between RDBMS and Cassandra; No Query Language; No Referential Integrity; Secondary Indexes; Sorting Is a Design Decision; Denormalization; Design Patterns
- Materialized ViewValueless Column; Aggregate Key; Some Things to Keep in Mind; Summary; Chapter 4. Sample Application; Data Design; Hotel App RDBMS Design; Hotel App Cassandra Design; Hotel Application Code; Creating the Database; Loading the schema; Data Structures; Getting a Connection; Prepopulating the Database; The Search Application; Twissandra; Summary; Chapter 5. The Cassandra Architecture; System Keyspace; Peer-to-Peer; Gossip and Failure Detection; Anti-Entropy and Read Repair; Memtables, SSTables, and Commit Logs; Hinted Handoff; Compaction; Bloom Filters; Tombstones
- Staged Event-Driven Architecture (SEDA)Managers and Services; Cassandra Daemon; Storage Service; Messaging Service; Hinted Handoff Manager; Summary; Chapter 6. Configuring Cassandra; Keyspaces; Creating a Column Family; Transitioning from 0.6 to 0.7; Replicas; Replica Placement Strategies; Simple Strategy; Old Network Topology Strategy; Network Topology Strategy; Replication Factor; Increasing the Replication Factor; Partitioners; Random Partitioner; Order-Preserving Partitioner; Collating Order-Preserving Partitioner; Byte-Ordered Partitioner; Snitches; Simple Snitch; PropertyFileSnitch
- Creating a Cluster