Summary

In this chapter, we have learned how to use the REST API to perform DynamoDB operations. 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 ...

Get DynamoDB Applied Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.