Data Stores Flashcards
Describe & give examples of PERSISTENT data stores
Data is durable, survives reboots and restarts
eg: Glacier, S3, RDS
Describe & give examples of TRANSIENT data stores
Data is temporarily stored before being passed on
eg: SNS, SQS, MQ
Describe & give examples of EPHEMERAL data stores
Data is lost when service stops
EG: Memcached/Elasticache, EC2 Instance Store
Describe what IOPS & Throughput measure
IOPS: How fast data can be read and written to a device
Throughput: How fast data can be moved to a time
What does ACID (consistency model) stand for
Atomic - Transactions are “all or nothing”
Consistent - Transactions must be valid
Isolated - Transactions can’t affect each other
Durable - Complete transactions must stick around
What does BASE (consistency model) stand for
Basic Availability - Values available even if stale
Soft-state - Might not be instantly consistent across stores
Eventual Consistency - Will achieve consistency at some point
What are the differences between the ACID and BASE consistency models
ACID is slower and doesn’t scale as easily, but data is more consistently reliable
BASE is faster and scales easier, but data isn’t as consistently reliable