HBase Design Patterns

Design and implement successful patterns to develop scalable applications with HBase
Preview in Mapt

HBase Design Patterns

Mark Kerzner, Sujee Maniyam

Design and implement successful patterns to develop scalable applications with HBase
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.00
RRP $19.99
Save 29%
Print + eBook
$32.99
RRP $32.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.00
$32.99
$29.99p/m after trial
RRP $19.99
RRP $32.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


HBase Design Patterns Book Cover
HBase Design Patterns
$ 19.99
$ 14.00
.NET Design Patterns Book Cover
.NET Design Patterns
$ 31.99
$ 22.40
Buy 2 for $31.50
Save $20.48
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783981045
Paperback150 pages

Book Description

With the increasing use of NoSQL in general and HBase in particular, knowing how to build practical applications depends on the application of design patterns. These patterns, distilled from extensive practical experience of multiple demanding projects, guarantee the correctness and scalability of the HBase application. They are also generally applicable to most NoSQL databases.

Starting with the basics, this book will show you how to install HBase in different node settings. You will then be introduced to key generation and management and the storage of large files in HBase. Moving on, this book will delve into the principles of using time-based data in HBase, and show you some cases on denormalization of data while working with HBase. Finally, you will learn how to translate the familiar SQL design practices into the NoSQL world. With this concise guide, you will get a better idea of typical storage patterns, application design templates, HBase explorer in multiple scenarios with minimum effort, and reading data from multiple region servers.

Table of Contents

Chapter 1: Starting Out with HBase
Installing HBase
Selecting an instance
Adding storage
Security groups
Starting the instance
Summary
Chapter 2: Reading, Writing, and Using SQL
Inspecting the cluster
HBase tables, families, and cells
The HBase shell
Project Phoenix — a SQL for HBase
Summary
Chapter 3: Using HBase Tables for Single Entities
Storing user information
Sets, maps, and lists
Generating the test data
Analyzing your query
Exercise
Summary
Chapter 4: Dealing with Large Files
Storing files using keys
Using UUID
What to do when your binary files grow larger
Exercises
Summary
Chapter 5: Time Series Data
Using time-based keys to store time series data
Avoiding region hotspotting
Tall and narrow rows versus wide rows
OpenTSDB principles
Summary
Chapter 6: Denormalization Use Cases
Storing all the objects for a user
Dealing with lost usernames and passwords
Tables for storing videos
A popularity contest
The section tag index
Summary
Chapter 7: Advanced Patterns for Data Modeling
Many-to-many relationships in HBase
Applying the many-to-many relationship techniques for a video site
Event time data – keeping track of what is going on
Dealing with transactions
Trafodion – transactional SQL on HBase
Summary
Chapter 8: Performance Optimization
Loading bulk data into HBase
Importing data into HBase using MapReduce
Importing data from HDFS into HBase
Profiling HBase applications
Benchmarking or load testing HBase
Monitoring HBase
Summary

What You Will Learn

  • Install and configure a Hadoop cluster and HBase
  • Write Java code to read and write HBase
  • Explore Phoenix open source project to talk to HBase in SQL
  • Store single entities, generate keys, use lists, maps, and sets
  • Utilize UUID for generic key generation to store data and deal with large files
  • Use denormalization to optimize performance
  • Represent one-to-many and many-to-many relationships and deal with transactions
  • Troubleshoot and optimize your application

Authors

Table of Contents

Chapter 1: Starting Out with HBase
Installing HBase
Selecting an instance
Adding storage
Security groups
Starting the instance
Summary
Chapter 2: Reading, Writing, and Using SQL
Inspecting the cluster
HBase tables, families, and cells
The HBase shell
Project Phoenix — a SQL for HBase
Summary
Chapter 3: Using HBase Tables for Single Entities
Storing user information
Sets, maps, and lists
Generating the test data
Analyzing your query
Exercise
Summary
Chapter 4: Dealing with Large Files
Storing files using keys
Using UUID
What to do when your binary files grow larger
Exercises
Summary
Chapter 5: Time Series Data
Using time-based keys to store time series data
Avoiding region hotspotting
Tall and narrow rows versus wide rows
OpenTSDB principles
Summary
Chapter 6: Denormalization Use Cases
Storing all the objects for a user
Dealing with lost usernames and passwords
Tables for storing videos
A popularity contest
The section tag index
Summary
Chapter 7: Advanced Patterns for Data Modeling
Many-to-many relationships in HBase
Applying the many-to-many relationship techniques for a video site
Event time data – keeping track of what is going on
Dealing with transactions
Trafodion – transactional SQL on HBase
Summary
Chapter 8: Performance Optimization
Loading bulk data into HBase
Importing data into HBase using MapReduce
Importing data from HDFS into HBase
Profiling HBase applications
Benchmarking or load testing HBase
Monitoring HBase
Summary

Book Details

ISBN 139781783981045
Paperback150 pages
Read More

Read More Reviews

Recommended for You

Machine Learning with Spark Book Cover
Machine Learning with Spark
$ 29.99
$ 3.00
Big Data Analytics with R and Hadoop Book Cover
Big Data Analytics with R and Hadoop
$ 29.99
$ 21.00
Practical Data Analysis Book Cover
Practical Data Analysis
$ 29.99
$ 21.00
Storm Real-time Processing Cookbook Book Cover
Storm Real-time Processing Cookbook
$ 29.99
$ 21.00
Mastering Hadoop Book Cover
Mastering Hadoop
$ 29.99
$ 6.00
Hadoop Real-World Solutions Cookbook Book Cover
Hadoop Real-World Solutions Cookbook
$ 29.99
$ 21.00