Database Flashcards
DynamoDB 101:
NoSQL, fast and flexible, consistent, single-digit millisecond latency at any scale. Stored on SSD; Spread Across 3 Geo distinct datacentres;
DynamoDB Consistency Mode:
Eventual Consistency Reads (Best read performance) and Strong Consistency Reads
DynamoDB Pricing:
Storage,Provisioned Capacity Unit(Read and Write, Write is much more expensive)
Redshift 101:
fast,powerful,fully managed, petabyte-scale OLAP service; scalable from $0.25 per hour to $1000 per terabyte*year. less than 1/10 of the cost for other datawarehousing solutions.
Redshift Configuration:
Single Node 160Gb; Multi-Node:LeaderNode(manages client connections and receives queries),Compute Node(up to 128 in qty to store data and perform queries and computations.)
Redshift Performance and Features:
(10 times faster)Columnar Data Storage;Advanced Compression (Columnar based data easily compressed much more by automatic sampleing data and select most suitable compression scheme);Massive Parallel Processing(MPP,automatic distribution across all nodes)
Redshift Pricing:
Compute Node Hours(leader node free);backup;Data Transfer(only within a VPC, not outside it);
Redshift Security:
Encrypt in transit using SSL;Encryted at rest using AES-256;Default cover key management with other options such as HSM and AWS KMS
Redshift Availability:
currently only available in 1 AZ as it does not needs redundancy and you outage recovery could be achieved from snapshot.
Elasticache 101:
a web-based in-memory cloud cache service that is easy to deploy,operate and scale;It helps to take loads off of your disk-based databses.
Elasticache Scenario:
significantly improve latency and throughput for read-heavy application workloads(social media networking, gaming, media sharing and Q&A portals);compute-intensive workloads(recommendation engine etc.)
Elasticache Types:
Memcached and Redis(open-source,sorted set and lists,Master/Slave appplication and Multi-AZ)
Elasticache Exam Tips:
good for read heavy not prone to frequent changing;allevite database from heavy loads OLAP transactions
Aurora 101:
MySQL-compatible high-end commercial database solution provides up to five performance or similar performance and availablity at 1/10 price.
Aurora Scaling:
Start with 10GB and autoscaling with a step of 10GB increments to 64TB;Compute resources up to 32vCPUs and 244GB Memory;