You are previewing Instant Apache Cassandra for Developers Starter.
O'Reilly logo
Instant Apache Cassandra for Developers Starter

Book Description

Start developing with Cassandra and learn how to handle big data

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.

  • Tune and optimize Cassandra to handle big data

  • Learn all about the Cassandra Query Language and Cassandra-CLI

  • Practical examples of Cassandra’s Java APIs

In Detail

Apache Cassandra is an open source, distributed database management system designed to handle large amounts of data, spread out across many commodity servers while providing a highly available service with no single point of failure. If you want to learn Cassandra and get to grips with your big data, then this book is for you.

Instant Apache Cassandra for Developers Starter will take you through the internals of Cassandra to the development of real-world applications. Using real-life case studies, you will learn how to install, configure, administrate with CQL, and optimize Cassandra. By the end of this book you will be more familiar with Cassandra and be ready to develop powerful big data solutions.

Instant Apache Cassandra for Developers Starter is a helpful, practical introduction to Cassandra. You will start by learning how Cassandra works. In particular you will learn when Cassandra is a better fit over the traditional RDBMS system. You will also learn Cassandra’s storage architecture and how it can be leveraged to create scalable big data solutions.

The book also discusses in detail the tuning and optimization of Cassandra’s performance and several do's and don’ts that will aid you when you start developing your own big data solutions with Cassandra. If you are looking into developing big data solutions and want to get to know Cassandra, then this book is for you.

Table of Contents

  1. Instant Apache Cassandra for Developers Starter
    1. Instant Apache Cassandra for Developers Starter
    2. Credits
    3. About the Author
    4. About the Reviewer
      1. Support files, eBooks, discount offers, and more
      1. Why Subscribe?
      2. Free Access for Packt Publishing account holders
    7. 1. Instant Apache Cassandra for Developers Starter
      1. So, what is Cassandra?
        1. Cassandra offerings
          1. Cassandra use cases
      2. Installation
        1. Step 1 – Downloading the Cassandra server
        2. Step 2 – Set up
        3. Step 3 – Configuring Cassandra
        4. And that's it!!
      3. Quick start – Creating your first Java application
        1. The Cassandra storage architecture
          1. Cassandra replication strategies
          2. Simple strategy
          3. Network topology strategy
        2. Data partitioning
          1. Random partitioning
          2. Ordered partitioning
          3. Cassandra write path
        3. Hands on with the Cassandra command-line interface
        4. Performing DDL/DML operations on the column family
        5. Cassandra Query Language
        6. Schemaless versus schema design
        7. Java and other available language APIs
          1. Hector
          2. Astyanax
          3. Kundera
        8. CRUD over Cassandra using JPA
          1. Step 1 – Creating a maven project
          2. Step 2 – Adding the Kundera dependency
          3. Step 3 – Creating persistence.xml
          4. Step 4 – Database script
          5. Step 5 – Creating the Author entity
          6. Step 6 – Performing CRUD
        9. Building TripPlanner
          1. Database configuration
          2. Code snippets
      4. Top features you'll want to know about
        1. Cassandra secondary indexes
        2. Cassandra composite columns
        3. Cassandra performance tuning
          1. Compaction tuning
            1. SizeTieredCompactionStrategy
            2. Leveled Compaction Strategy (LCS)
          2. Bloom filter false positive chance
          3. Cache
      5. People and places you should get to know
        1. Official sites
          1. Architecture reference
        2. Articles and Tutorials
        3. User mailing list