2. Data Model
• Relation
• The Dominant Data Model of Last Couple Decade
• Table, Column, Rows
• Cannot Nest One Tuple Within Another
• Aggregate
• Collection of related object that we wish to treat as a unit
• Consistency Unit
6. Distribution Model
• Single Server
• Sharding (Horizontal Scalability)
• Put different data on different node.
• Replication
• Take the same data and copies it over multiple node.
19. What's Key-Value Store
• Simple Hash Table
• Collection of Key-Value Pair
• Associate Array
• The Key Unique Within Collection
20. Basic Operation
• Insert Pair
• Delete Pair
• Update Value Of Existing Pair
• Find Value Associate With a Particular Key
21. Performance Factor
• The efficiency of the hashing function.
• The design of the keys and the size of the values being stored
and retrieved.
• The distribution of data across partitions.
• The functional patterns that applications follow to store and
retrieve data.
24. Some of The Popular Key-Value Databases
• Redis
• Riak
• Memcache DB
• BerkeleyDB
• HamsterDB
• Amazon DynamoDB
• Project Voldemort
25. Key-Value Store Features
• Consistency
• Consistency is applicable only for operations on a single key
• Eventually Consistent in Distribute Implementation
• Transaction
• Quorum
• Query
• Structure Of Data
• Scaling
• Sharding
• CAP
26. Suitable Use Case
• Storing Session Information
• User Profiles, Preferences
• Shopping Cart Data
27. When Not to Use
• Relation Among Data
• Multioperation Transactions
• Query by Data
• Operations by Sets