万本电子书0元读

万本电子书0元读

顶部广告

Mastering DynamoDB电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Tanmay Deshpande

出  版  社:Packt Publishing

出版时间:2014-08-25

字       数:309.9万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you have interest in DynamoDB and want to know what DynamoDB is all about and become proficient in using it, this is the book for you. If you are an intermediate user who wishes to enhance your knowledge of DynamoDB, this book is aimed at you. Basic familiarity with programming, NoSQL, and cloud computing concepts would be helpful.
目录展开

Mastering DynamoDB

Table of Contents

Mastering DynamoDB

Credits

Foreword

About the Author

Acknowledgments

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

Downloading the example code

Errata

Piracy

Questions

1. Getting Started

DynamoDB's history

What is DynamoDB?

Data model concepts

Operations

Table operations

Item operations

The Query and Scan operations

Provisioned throughput

DynamoDB features

Fully managed

Durable

Scalable

Fast

Simple administration

Fault tolerance

Flexible

Indexing

Secure

Cost effective

How do I get started?

Creating a DynamoDB table using the AWS management console

DynamoDB Local

Summary

2. Data Models

Primary key

Hash primary key

Hash and range primary key

Secondary indexes

Local secondary index

Global secondary index

Data types

Scalar data types

String

Number

Binary

Multivalued data types

Operations on tables

Using the AWS SDK for Java

Create table

Update table

Delete table

List tables

Using the AWS SDK for .NET

Create table

Update table

Delete table

List tables

Using the AWS SDK for PHP

Create table

Update table

Delete table

List tables

Operations on items

Strong versus eventual consistency

Eventual consistency

Conditional writes

Item size calculations

Using the AWS SDK for Java

Put item

Get item

Update item

Delete item

Batch get items

Batch write items

Using the AWS SDK for .NET

Put item

Get item

Update item

Delete item

BatchGetItems

BatchWriteItems

Using the AWS SDK for PHP

The putItem method

The getItem method

The updateItem method

The deleteItem method

The batchGetItem API

The batchWriteItems API

Query and scan operations

Query versus scan

Pagination

Limit and counts

Parallel scan

Querying tables

Using the AWS SDK for Java

Using the AWS SDK for .NET

PHP API

Scanning tables

Using the AWS SDK for Java

Using the AWS SDK for .NET

Using the AWS SDK for PHP

Modeling relationships

One to one

One to many

Many to many

Summary

3. How DynamoDB Works

Service-oriented architecture

Design features

Data replication

Conflict resolution

Scalability

Symmetry

Flexibility

Architecture

Load balancing

Data replication

Data versioning and reconciliation

Logic-based reconciliation

Time-based reconciliation

Request handling

Handling failures

Ring membership

Seed nodes

Functional components

Request coordinator

Membership failure and detection

Local persistence store

Summary

4. Best Practices

Table level best practices

Choosing a primary key

Evenly distributed data upload

Managing time series data

Item best practices

Caching

Storing large attribute values

Using compressions

Using AWS S3

Using multiple chunks

Blog table

Body chunks table

Implementing one-to-many relationship

Inefficient approach

Better and efficient approach

Query and scan best practices

Maintaining even read activity

Using parallel scans

Local secondary indexes best practices

Global secondary index best practices

Summary

5. Advanced Topics

Monitoring DynamoDB tables

AWS Management Console

CloudWatch API

A command-line interface

Using IAM to provide access control to DynamoDB

How to use IAM for DynamoDB

Sample IAM policies

Providing read-only access to items from all DynamoDB tables

Restrict users from deleting all the tables and items from a table

Allowing you to place and update an item on a single table

Allowing access to all indexes of a particular table

Allowing all DynamoDB actions to all the tables

Fine-grained access control

Sample fine-grained access control policies

Restricting access to only specific hash value

Restricting access to only specific attributes of a table

Allowing a query on only specific projected attributes in index

Web identity federation

Limitations in DynamoDB

Error handling

Type of errors

Catching error information

Auto retries and exponential back-offs

Summary

6. Integrating DynamoDB with Other AWS Components

Integrating with AWS EMR

Exporting data from DynamoDB

Export data to AWS S3

Formatted data export

Compressed data export

Export data to EMR – HDFS

Querying DynamoDB data

Getting the total count of employees in Employee table

Getting the total count of employees department wise

Joining two DynamoDB tables

Joining tables from DynamoDB and S3

Importing data into DynamoDB

Importing data from AWS S3

Importing data from HDFS

Performance considerations while using EMR with DynamoDB

Integrating with AWS Redshift

Exporting data from DynamoDB

Automatic compression and sampling

Integrating with AWS CloudSearch

Configuring CloudSearch domain

Using AWS management console

Using command-line tools

Export data from DynamoDB to CloudSearch

Using AWS management console

Using command line tools

Summary

7. DynamoDB – Use Cases

Bookstore application

Technology stack

Architecture

DynamoDB data model

Implementation

Integration with other AWS components

Deployment

Knowledge market website

Technology stack

Architecture

DynamoDB data model

Implementation

Integration with other AWS components

Deployment

Summary

8. Useful Libraries and Tools

Libraries

Transaction library

Atomic writes

Isolated reads

Geo library

Query rectangle

Query radius

Language-specific libraries

Java

Jsoda

Phoebe

Jcabi

.NET

Node.js

Perl

Net::Amazon::DynamoDB

Ruby

Fog

mince_dynamodb

dynamoid

Others

Tools

Tools for testing

DynamoDB Local

Fake DynamoDB

Injecting failures

Tools for auto-scaling

Dynamic DynamoDB

Tools for backup and archival

DynamoDB Table Archiver

Summary

9. Developing Mobile Apps Using DynamoDB

Authentication and Authorization

Using Web Identity Federation

Creating your own custom authentication

Performing operations using mobile SDKs

Writing data to DynamoDB

Android

iOS

Getting consumed capacity information

Android

iOS

Conditional writes

Android

iOS

Deleting an item

Android

iOS

Fetching data

Android

iOS

Querying data

Android

iOS

Consistent reads

Android

Using local secondary indexes

Android

iOS

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部