DynamoDB Applied Design Patterns

Apply efficient DynamoDB design patterns for high performance of applications

DynamoDB Applied Design Patterns

Learning
Uchit Vyas, Prabhakaran Kuppusamy

Apply efficient DynamoDB design patterns for high performance of applications
$10.00
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Code Files
+ Collection
Free Sample

Book Details

ISBN 139781783551897
Paperback202 pages

About This Book

  • Create, design, and manage databases in DynamoDB
  • Immerse yourself in DynamoDB design examples and user cases, be it for new users or expert ones
  • Perform sharding and modeling, to give your applications the low cost NoSQL edge

Who This Book Is For

If you are an intermediate to advanced DynamoDB developer looking to learn the best practices associated with efficient data modeling, this book is for you.

Table of Contents

Chapter 1: Data Modeling with DynamoDB
Data model
Efficient use of primary keys
Basics of indexes
DynamoDB data types
Summary
Chapter 2: DynamoDB Interfaces
The management console
The Eclipse plugin
The command-line interface
Summary
Chapter 3: Tools and Libraries of AWS DynamoDB
Creating your first SDK project
Java SDK operations
DynamoDB Local
Summary
Chapter 4: Working with Secondary Indexes
Secondary indexes
Projection
Item sharding
Best practices with secondary indexes
Summary
Chapter 5: Query and Scan Operations in DynamoDB
Querying tables
Scanning tables
Parallel scanning
Summary
Chapter 6: Working with the DynamoDB API
Data format
HTTP requests
Error handling
Operations in DynamoDB
Summary
Chapter 7: Distributed Locking with DynamoDB
Distributed locking
Importance of distributed locking
Summary
Chapter 8: DynamoDB with Redshift, Data Pipeline, and MapReduce
Loading data from DynamoDB into Redshift
Importing and exporting data between DynamoDB and S3
Exporting, importing, querying, and joining tables using AWS MapReduce
Summary
Chapter 9: DynamoDB – Best Practices
DynamoDB use cases
Real-time problem statements and their solutions
AWS DynamoDB on mobile
Uniform workload
Time series tables
When to use and when not to use DynamoDB
Summary

What You Will Learn

  • Understand the concepts of data modeling including tables, items, attributes, primary keys, indexes, and design patterns
  • Access DynamoDB in the management console, command line, and the Eclipse plugin
  • Get acquainted with DynamoDB Local and CLI commands and use them from a developer/DBA perspective
  • Discover what global and local secondary indexes are and their importance in DynamoDB
  • Automatically shard your NoSQL databases based on SLA
  • Conduct query and scan operations on DynamoDB tables to get efficient results
  • Call APIs from applications to DynamoDB and retrieve data in appropriate formats for other applications
  • Work closely with AWS services such as Redshift, S3, and MapReduce so they collaborate with DynamoDB efficiently

In Detail

DynamoDB provides fast and predictable performance with seamless scalability. If you are a developer, you can use DynamoDB to create a database table that can store and retrieve any amount of data, and serve any level of request traffic. As a database administrator, you can create and scale up or down your request capacity for your DynamoDB table without downtime or performance degradation.

Designed as a complete solutions guide for AWS DynamoDB, this book is a fully managed proprietary NoSQL database service pattern. The book begins with a description of the concepts of data modeling including tables, items, attributes, primary keys, indexes, and design patterns. You will learn how to access DynamoDB in the management console, command line, and the Eclipse plugin. You will also gain insights into DynamoDB Local and CLI commands. By the end of the book, you will have all that it takes to efficiently use DynamoDB to its utmost capabilities.

Authors

Table of Contents

Chapter 1: Data Modeling with DynamoDB
Data model
Efficient use of primary keys
Basics of indexes
DynamoDB data types
Summary
Chapter 2: DynamoDB Interfaces
The management console
The Eclipse plugin
The command-line interface
Summary
Chapter 3: Tools and Libraries of AWS DynamoDB
Creating your first SDK project
Java SDK operations
DynamoDB Local
Summary
Chapter 4: Working with Secondary Indexes
Secondary indexes
Projection
Item sharding
Best practices with secondary indexes
Summary
Chapter 5: Query and Scan Operations in DynamoDB
Querying tables
Scanning tables
Parallel scanning
Summary
Chapter 6: Working with the DynamoDB API
Data format
HTTP requests
Error handling
Operations in DynamoDB
Summary
Chapter 7: Distributed Locking with DynamoDB
Distributed locking
Importance of distributed locking
Summary
Chapter 8: DynamoDB with Redshift, Data Pipeline, and MapReduce
Loading data from DynamoDB into Redshift
Importing and exporting data between DynamoDB and S3
Exporting, importing, querying, and joining tables using AWS MapReduce
Summary
Chapter 9: DynamoDB – Best Practices
DynamoDB use cases
Real-time problem statements and their solutions
AWS DynamoDB on mobile
Uniform workload
Time series tables
When to use and when not to use DynamoDB
Summary

Book Details

ISBN 139781783551897
Paperback202 pages
Read More