Book Image

DynamoDB Applied Design Patterns

By : Uchit Hamendra Vyas
Book Image

DynamoDB Applied Design Patterns

By: Uchit Hamendra Vyas

Overview of this book

Table of Contents (17 chapters)
DynamoDB Applied Design Patterns
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

DynamoDB Local


DynamoDB Local is a local client-side database that emulates the DynamoDB database in our local system. This is pretty helpful while developing an application that uses DynamoDB as the backend. Every time after writing a module, in order to test whether the code works fine, we need to connect to Amazon and run it. This will consume a lot of bandwidth and a few dollars. To avoid this we can make use of DynamoDB Local and test the code locally. Once the testing is done we can then make our application use the AWS DynamoDB service. You need to perform only three actions for this, which are as follows:

  1. Download DynamoDB Local from http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.

  2. Start the DynamoDB Local service (should have JRE 6 or later).

  3. Point the code to use the DynamoDB Local port.

We don't need to discuss more about how to download a file from the Internet. So, let's go directly to step 2. The downloaded file might be a zipped one (tar.gz or zip...