Reader small image

You're reading from  DynamoDB Applied Design Patterns

Product typeBook
Published inSep 2014
Publisher
ISBN-139781783551897
Edition1st Edition
Right arrow

Importance of distributed locking


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.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
DynamoDB Applied Design Patterns
Published in: Sep 2014Publisher: ISBN-13: 9781783551897