Mastering Apache Cassandra : Get Comfortable with the Fastest NoSQL Database, Its Architecture, Key Programming Patterns, Infrastructure Management, and More! /: Get Comfortable with the Fastest NoSQL Database, Its Architecture, Key Programming Patterns, Infrastructure Management, and More!. (©2013)
- Record Type:
- Book
- Title:
- Mastering Apache Cassandra : Get Comfortable with the Fastest NoSQL Database, Its Architecture, Key Programming Patterns, Infrastructure Management, and More! /: Get Comfortable with the Fastest NoSQL Database, Its Architecture, Key Programming Patterns, Infrastructure Management, and More!. (©2013)
- Main Title:
- Mastering Apache Cassandra : Get Comfortable with the Fastest NoSQL Database, Its Architecture, Key Programming Patterns, Infrastructure Management, and More!
- Further Information:
- Note: Nishant Neeraj.
- Other Names:
- Neeraj, Nishant
- Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Quick Start; Introduction to Cassandra; Distributed database; High availability; Replication; Multiple data centers; A brief introduction to a data model; Installing Cassandra locally; CRUD with cassandra-cli; Cassandra in action; Modeling data; Writing code; Setting up; Application; Summary; Chapter 2: Cassandra Architecture; Problems in the RDBMS world; Enter NoSQL; The CAP theorem; Consistency; Availability; Partition-tolerance. Significance of the CAP theoremCassandra; Cassandra architecture; Ring representation; How Cassandra works; Write in action; Read in action; Components of Cassandra; Messaging service; Gossip; Failure detection; Partitioner; Replication; Log Structured Merge tree; CommitLog; MemTable; SSTable; Compaction; Tombstones; Hinted handoff; Read repair and Anti-entropy; Summary; Chapter 3: Design Patterns; The Cassandra data model; The counter column; The expiring column; The super column; The column family; Keyspaces; Data types -- comparators and validators; Writing a custom comparator. The primary indexThe wide-row index; Simple groups; Sorting for free, free as in speech; An inverse index with a super column family; An inverse index with composite keys; The secondary index; Patterns and antipatterns; Avoid storing an entity in a single column (wherever possible); Atomic update; Managing time series data; Wide-rowCover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Quick Start; Introduction to Cassandra; Distributed database; High availability; Replication; Multiple data centers; A brief introduction to a data model; Installing Cassandra locally; CRUD with cassandra-cli; Cassandra in action; Modeling data; Writing code; Setting up; Application; Summary; Chapter 2: Cassandra Architecture; Problems in the RDBMS world; Enter NoSQL; The CAP theorem; Consistency; Availability; Partition-tolerance. Significance of the CAP theoremCassandra; Cassandra architecture; Ring representation; How Cassandra works; Write in action; Read in action; Components of Cassandra; Messaging service; Gossip; Failure detection; Partitioner; Replication; Log Structured Merge tree; CommitLog; MemTable; SSTable; Compaction; Tombstones; Hinted handoff; Read repair and Anti-entropy; Summary; Chapter 3: Design Patterns; The Cassandra data model; The counter column; The expiring column; The super column; The column family; Keyspaces; Data types -- comparators and validators; Writing a custom comparator. The primary indexThe wide-row index; Simple groups; Sorting for free, free as in speech; An inverse index with a super column family; An inverse index with composite keys; The secondary index; Patterns and antipatterns; Avoid storing an entity in a single column (wherever possible); Atomic update; Managing time series data; Wide-row time series; High throughput rows and hotspots; Advanced time series; Avoid super columns; Transaction woes; Use expiring columns; batch_mutate; Summary; Chapter 4: Deploying a Cluster; Evaluating requirements; Hard disk capacity; RAM; CPU; Nodes; Network. System configurationsOptimizing user limits; Swapping memory; Clock synchronization; Disk readahead; The required software; Installing Oracle Java 6; RHEL and CentOS systems; Debian and Ubuntu systems; Installing the Java Native Access (JNA) library; Installing Cassandra; Installing from a tarball; Installing from ASFRepositoy for Debian/Ubuntu; Anatomy of the installation; Cassandra binaries; Configuration files; Configuring a Cassandra cluster; The cluster name; The seed node; Listen, broadcast, and RPC addresses; Initial token; Partitioners; The random partitioner. The byte-ordered partitionerThe Murmur3 partitioner; Snitches; SimpleSnitch; PropertyFileSnitch; GossipingPropertyFileSnitch; RackInferringSnitch; EC2Snitch; EC2MultiRegionSnitch; eplica placement strategies; SimpleStrategy; NetworkTopologyStrategy; Launching a cluster with a script; Creating a keyspace; Authorization and authentication; Summary; Chapter 5: Performance Tuning; Stress testing; Performance tuning; Write performance; Read performance; Choosing the right compaction strategy; Size tiered compaction strategy; Leveled compaction; Row cache; Key cache; Cache settings; Enabling compression. … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2013
- Copyright Date:
- 2013
- Extent:
- 1 online resource (340 pages)
- Subjects:
- 005.8
COMPUTERS -- Programming Languages -- Java
Web servers
Apache Cassandra (Computer system)
Computer science
Database management -- Computer programs
Database management
Web servers
COMPUTERS -- Web -- General
Web servers
Database management
Web servers
COMPUTERS -- Databases -- General
Electronic books - Languages:
- English
- ISBNs:
- 9781461949268
1461949262
9781782162698
1782162690
1782162682
9781782162681 - Related ISBNs:
- 9781782162681
- Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86618
- Ingest File:
- 01_064.xml