Database Reference
In-Depth Information
Summary
In this chapter, we have learned how to use the REST API to perform DynamoDB opera-
tions. We have also learned about a few things that we never came across in previous
chapters (take BatchWriteItem and BatchGetItem for instance). The usage of
batch operations will provide the output in a faster way, because all table data is queried or
written in parallel. One tradeoff is that it consumes a lot of capacity units. In simple words,
using the batch operation will give you an optimized result, but you might have to pay
more.
In the next chapter, we will learn about the distributed locking used in DynamoDB for
transaction management. In the case of multitenant systems, this locking mechanism is
pretty important because of batch operations and because multiple users might write or
read data simultaneously. Without implementing locking techniques in our application, we
will always get unacceptable responses and the application will nosedive. We will also see
the Java high-level API for DynamoDB interaction.
Search WWH ::




Custom Search