12 Programming for the NoSQL database service: DynamoDB

This chapter covers

  • Advantages and disadvantages of the NoSQL service, DynamoDB
  • Creating tables and storing data
  • Adding secondary indexes to optimize data retrieval
  • Designing a data model optimized for a key-value database
  • Optimizing costs by choosing the best fitting capacity mode and storage type

Most applications depend on a database to store data. Imagine an application that keeps track of a warehouse’s inventory. The more inventory moves through the warehouse, the more requests the application serves and the more queries the database has to process. Sooner or later, the database becomes too busy and latency increases to a level that limits the warehouse’s productivity. At this point, ...

Get Amazon Web Services in Action, Third Edition 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.