Locking is one of the most important synchronization techniques in a database. It is a must if multiple users are interacting with it simultaneously. The use of a high-level API (along with a version attribute in the mapping class) ensures locking. In the case of a multiuser, multiserver database environment, if distributed locking is not incorporated then most of the users may well be sitting on the detached branch of the tree and working on obsolete data. The importance is actually in deciding whether we need this locking, because as a tradeoff every item will have an attribute especially to manage versions or locking, which might itself eat up a lot of space and throughput capacity.

DynamoDB Applied Design Patterns
By :

DynamoDB Applied Design Patterns
By:
Overview of this book
Table of Contents (17 chapters)
DynamoDB Applied Design Patterns
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Data Modeling with DynamoDB
DynamoDB Interfaces
Tools and Libraries of AWS DynamoDB
Working with Secondary Indexes
Query and Scan Operations in DynamoDB
Working with the DynamoDB API
Distributed Locking with DynamoDB
DynamoDB with Redshift, Data Pipeline, and MapReduce
DynamoDB – Best Practices
Comparing DynamoDB
Index
Customer Reviews