Amazon Dynamo DB
-
Dynamo DB is fully managed NOSQL offering from AWS.
-
Dynamo DB supports both document and key-value data structures
-
Benefits of Dynamo DB
- Scalable
- Managed Service
- Fast, consistent performance
- Fine grained access control
- cost-effective
- Integrate with other AWS Services
-
Terminology
- Table: Fundamental construct for organizing and storing data
- Table consists of infinite number of data items
- An item is composed of primary key and key value pairs called as attributes
-
Dynamo Db supports
- four scalar data types
- Number
- String
- Binary
- Boolean
- NULL value
- Collection data types
- Number set
- String set
- Binary set
- List
- Map
- four scalar data types
-
Dynamo DB supports two different kinds of primary keys
- Partition key: This is also known as simple primary key. It consists of one attribute known as partition key
- Partition Key and sort key: This is known as composite partition key. This type of key is composed of two attributes
- Partition key
- Sort key
- Units of capacity required for writes = Number of item writes per second * Item size in 1KB blocks
- Unit of capacity required for reads = Number of Items read per second * Item size in 4 KB Blocks
-
Programming SDK’s
- Java Refer Here
- Python Refer Here
- .Net Refer Here
Amazon Elastic Cache
- Amazon Elastic Cache is a service that makes it easy to deploy, operate and scale an in-memory cache in the cloud
- Amazon Elastic Cache supports two different in-memory key-value engines
- Memcached
- Redis
- Programming SDK
- Java Refer Here
- .net Refer Here
