Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DynamoDB Applied Design Patterns

You're reading from   DynamoDB Applied Design Patterns Apply efficient DynamoDB design patterns for high performance of applications

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783551897
Length 202 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Uchit Hamendra Vyas Uchit Hamendra Vyas
Author Profile Icon Uchit Hamendra Vyas
Uchit Hamendra Vyas
Arrow right icon
View More author details
Toc

Time series tables


With DynamoDB, when you are creating a table you are going to specify the throughput. So from that DynamoDB will allocate resources to serve your requirements with low latency as best as it can. The core concept is that you should identify the core pattern of your tables that will be accessed via an application and based on that analysis you can restructure your application and tables.

Let's say, for example, you are designing a table to map the customers' search patterns on your application on the Web. So you can design your DynamoDB table with hash and range type primary keys with consumer ID as the hash attribute and date/time as the range attribute. So within this application your customer data will grow indefinitely with time; however, your application will show the uneven access pattern across items given in the table. In this pattern, it is possible that the latest item will be more frequently accessed and eventually the older items will be rarely accessed. So if...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image