万本电子书0元读

万本电子书0元读

顶部广告

DynamoDB Applied Design Patterns电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Uchit Vyas

出  版  社:Packt Publishing

出版时间:2014-09-23

字       数:106.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

DynamoDB Applied Design Patterns

Table of Contents

DynamoDB Applied Design Patterns

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Data Modeling with DynamoDB

Data model

Efficient use of primary keys

Basics of indexes

Default or primary indexes

Secondary indexes

DynamoDB data types

Summary

2. DynamoDB Interfaces

The management console

Managing the DynamoDB table

Managing DynamoDB table items

The Eclipse plugin

The command-line interface

Summary

3. Tools and Libraries of AWS DynamoDB

Creating your first SDK project

Java SDK operations

DynamoDB Local

Summary

4. Working with Secondary Indexes

Secondary indexes

Projection

Local secondary index

Global secondary index

Item sharding

Ideal item writing

Best practices with secondary indexes

Distributing the load by choosing the correct key

Making use of the sparse index

Using the global secondary index for quicker retrieval

Creating a read replica

Using indexes sparingly

Choosing projections carefully

Optimizing frequent queries to avoid fetches

Watching for expanding item collections

Summary

5. Query and Scan Operations in DynamoDB

Querying tables

Consistency

Exclusive start key

Scanning tables

Parallel scanning

Summary

6. Working with the DynamoDB API

Data format

HTTP requests

Request header

Request body

Response header

Error handling

Client-side error with status code 400 - retry not needed

AccessDeniedException

ConditionalCheckFailedException

IncompleteSignatureException

LimitExceededException

MissingAuthenticationTokenException

ResourceInUseException

ResourceNotFoundException

ValidationException

Client-side error with status code 400 - retry possible

ProvisionedThroughputExceededException

ItemCollectionSizeLimitExceededException

ThrottlingException

UnrecognizedClientException

Client-side error with status code 413

Server-side error with status code 500

InternalFailure and InternalServerError

ServiceUnavailableException

Error retry and exponential back off

Operations in DynamoDB

CreateTable

PutItem

UpdateItem

GetItem

Query

Scan

DeleteItem

DescribeTable

UpdateTable

DeleteTable

ListTables

BatchGetItem

BatchWriteItem

Summary

7. Distributed Locking with DynamoDB

Distributed locking

Solutions available to solve distributed writes

Java high-level API

Optimistic locking

Importance of distributed locking

Summary

8. DynamoDB with Redshift, Data Pipeline, and MapReduce

Loading data from DynamoDB into Redshift

Importing and exporting data between DynamoDB and S3

Creating Data Pipeline

Exporting, importing, querying, and joining tables using AWS MapReduce

Exporting data from DynamoDB to S3

Exporting the DynamoDB table to HDFS

Importing data to DynamoDB

Querying data in DynamoDB

Joining two DynamoDB tables

Summary

9. DynamoDB – Best Practices

DynamoDB use cases

Schema-less-ISH

Batch applications

Stating attributes using the :select option

Synchronization

Real-time problem statements and their solutions

Problem statement – 1

Solution

Problem statement – 2

Solution

Problem statement – 3

Solution

Problem Statement – 4

Solution

Problem statement – 5

Solution

AWS DynamoDB on mobile

Storing data in the table

Android

iOS

Updating a record

Android

iOS

Deleting a record

Android

iOS

Uniform workload

Time series tables

When to use and when not to use DynamoDB

Summary

A. Comparing DynamoDB

DynamoDB versus MongoDB

DynamoDB versus Cassandra

DynamoDB versus S3

DynamoDB versus Redis

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部