Data Stores Flashcards

1
Q

Describe & give examples of PERSISTENT data stores

A

Data is durable, survives reboots and restarts
eg: Glacier, S3, RDS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe & give examples of TRANSIENT data stores

A

Data is temporarily stored before being passed on
eg: SNS, SQS, MQ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe & give examples of EPHEMERAL data stores

A

Data is lost when service stops
EG: Memcached/Elasticache, EC2 Instance Store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe what IOPS & Throughput measure

A

IOPS: How fast data can be read and written to a device
Throughput: How fast data can be moved to a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does ACID (consistency model) stand for

A

Atomic - Transactions are “all or nothing”
Consistent - Transactions must be valid
Isolated - Transactions can’t affect each other
Durable - Complete transactions must stick around

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does BASE (consistency model) stand for

A

Basic Availability - Values available even if stale
Soft-state - Might not be instantly consistent across stores
Eventual Consistency - Will achieve consistency at some point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the differences between the ACID and BASE consistency models

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly