Cassandra: The Definitive Guide [NOOK Book]

Overview

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-intensive companies. Cassandra: The Definitive Guide provides the technical details and practical examples you need to assess this database management system and put it to work in a production...

See more details below
Cassandra: The Definitive Guide

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99
BN.com price
(Save 43%)$31.99 List Price

Overview

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-intensive companies. Cassandra: The Definitive Guide provides the technical details and practical examples you need to assess this database management system and put it to work in a production environment.

Author Eben Hewitt demonstrates the advantages of Cassandra's nonrelational design, and pays special attention to data modeling. If you're a developer, DBA, application architect, or manager looking to solve a database scaling issue or future-proof your application, this guide shows you how to harness Cassandra's speed and flexibility.

  • Understand the tenets of Cassandra's column-oriented structure
  • Learn how to write, update, and read Cassandra data
  • Discover how to add or remove nodes from the cluster as your application requires
  • Examine a working application that translates from a relational model to Cassandra's data model
  • Use examples for writing clients in Java, Python, and C#
  • Use the JMX interface to monitor a cluster's usage, memory patterns, and more
  • Tune memory settings, data storage, and caching for better performance
Read More Show Less

Product Details

  • ISBN-13: 9781449396640
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/12/2010
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 332
  • Sales rank: 759,056
  • File size: 6 MB

Meet the Author

Eben Hewitt is a Principal on the architecture team at a multi-billion dollar national retail company, where he has been focused on designing and building their Service Oriented Architecture. He has worked in IT for ten years, working on large-scale web and SOA integration projects, distributed software, and messaging systems. Hewitt is the author of four previous programming books, several industry articles, and is a contributor to the O'Reilly book 97 Things Every Software Architect Should Know, edited by Richard Monson-Haefel. He is a popular speaker at industry conferences and local user groups.

Read More Show Less

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; 1.1 What’s Wrong with Relational Databases?; 1.2 A Quick Review of Relational Databases; 1.3 The Cassandra Elevator Pitch; 1.4 Where Did Cassandra Come From?; 1.5 Use Cases for Cassandra; 1.6 Who Is Using Cassandra?; 1.7 Summary; Chapter 2: Installing Cassandra; 2.1 Installing the Binary; 2.2 Building from Source; 2.3 Running Cassandra; 2.4 Running the Command-Line Client Interface; 2.5 Basic CLI Commands; 2.6 Summary; Chapter 3: The Cassandra Data Model; 3.1 The Relational Data Model; 3.2 A Simple Introduction; 3.3 Clusters; 3.4 Keyspaces; 3.5 Column Families; 3.6 Columns; 3.7 Super Columns; 3.8 Design Differences Between RDBMS and Cassandra; 3.9 Design Patterns; 3.10 Some Things to Keep in Mind; 3.11 Summary; Chapter 4: Sample Application; 4.1 Data Design; 4.2 Hotel App RDBMS Design; 4.3 Hotel App Cassandra Design; 4.4 Hotel Application Code; 4.5 Twissandra; 4.6 Summary; Chapter 5: The Cassandra Architecture; 5.1 System Keyspace; 5.2 Peer-to-Peer; 5.3 Gossip and Failure Detection; 5.4 Anti-Entropy and Read Repair; 5.5 Memtables, SSTables, and Commit Logs; 5.6 Hinted Handoff; 5.7 Compaction; 5.8 Bloom Filters; 5.9 Tombstones; 5.10 Staged Event-Driven Architecture (SEDA); 5.11 Managers and Services; 5.12 Summary; Chapter 6: Configuring Cassandra; 6.1 Keyspaces; 6.2 Replicas; 6.3 Replica Placement Strategies; 6.4 Replication Factor; 6.5 Partitioners; 6.6 Snitches; 6.7 Creating a Cluster; 6.8 Dynamic Ring Participation; 6.9 Security; 6.10 Miscellaneous Settings; 6.11 Additional Tools; 6.12 Summary; Chapter 7: Reading and Writing Data; 7.1 Query Differences Between RDBMS and Cassandra; 7.2 Basic Write Properties; 7.3 Consistency Levels; 7.4 Basic Read Properties; 7.5 The API; 7.6 Setup and Inserting Data; 7.7 Using a Simple Get; 7.8 Seeding Some Values; 7.9 Slice Predicate; 7.10 Get Range Slices; 7.11 Multiget Slice; 7.12 Deleting; 7.13 Batch Mutates; 7.14 Programmatically Defining Keyspaces and Column Families; 7.15 Summary; Chapter 8: Clients; 8.1 Basic Client API; 8.2 Thrift; 8.3 Avro; 8.4 A Bit of Git; 8.5 Connecting Client Nodes; 8.6 Cassandra Web Console; 8.7 Hector (Java); 8.8 HectorSharp (C#); 8.9 Chirper; 8.10 Chiton (Python); 8.11 Pelops (Java); 8.12 Kundera (Java ORM); 8.13 Fauna (Ruby); 8.14 Summary; Chapter 9: Monitoring; 9.1 Logging; 9.2 Overview of JMX and MBeans; 9.3 Interacting with Cassandra via JMX; 9.4 Cassandra’s MBeans; 9.5 Custom Cassandra MBeans; 9.6 Runtime Analysis Tools; 9.7 Health Check; 9.8 Summary; Chapter 10: Maintenance; 10.1 Getting Ring Information; 10.2 Getting Statistics; 10.3 Basic Maintenance; 10.4 Snapshots; 10.5 Load-Balancing the Cluster; 10.6 Decommissioning a Node; 10.7 Updating Nodes; 10.8 Summary; Chapter 11: Performance Tuning; 11.1 Data Storage; 11.2 Reply Timeout; 11.3 Commit Logs; 11.4 Memtables; 11.5 Concurrency; 11.6 Caching; 11.7 Buffer Sizes; 11.8 Using the Python Stress Test; 11.9 Startup and JVM Settings; 11.10 Summary; Chapter 12: Integrating Hadoop; 12.1 What Is Hadoop?; 12.2 Working with MapReduce; 12.3 Running the Word Count Example; 12.4 Tools Above MapReduce; 12.5 Cluster Configuration; 12.6 Use Cases; 12.7 Summary; The Nonrelational Landscape; Nonrelational Databases; Object Databases; XML Databases; Document-Oriented Databases; Graph Databases; Key-Value Stores and Distributed Hashtables; Columnar Databases; Summary; Glossary; Colophon;

Eben Hewitt is Director of Application Architecture at a publicly traded company where he is responsible for the design of their mission-critical, global-scale web, mobile and SOA integration projects. He has written several programming books, including Java SOA Cookbook (O'Reilly).

Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
Rating Distribution

5 Star

(2)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted July 24, 2014

    John

    Walks in

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 24, 2014

    Cassie to John

    Go to next res.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)