Week 5 - Key Value Stores Flashcards

1
Q

Four Requirements of NoSQL

A

1) Availability
2) Scalability
3) Fault Tolerance
4) Manageability

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

Amazon Dynamo 4 items

A

1) simple Read /Write operations to data with IDs
2) No operations span multiple records
3) Data stored as Binary objects of small size
4) Eventual consistency

99.9 optimized

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

Data model has two functions

A

1) Put

2) get

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

To achieve load balancing also you need to ____ the nodes

A

HASH

method: contestant hashing

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

contestant hashing data is stored as a

A

nodes in a ring (clockwise)

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

semantic reconciliation?

A

semantic reconciliation is conflict resolution

So that means the system does not understand the semantics, the system understands key value and that’s all, right?

So in that case, the conflict resolution is pushed to the application.

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

Google BigTable is

A

Column based

Google BigTable or like a column family-based
databases or column family-based data stores, they come in the middle.

So you still have some kind of a row representation
but the row representation is not as rigid,
does not have a rigid schema as in the relational database.

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

Google BigTable locking service

A

Chubby

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

What is the BigTable SSTable?

A

SSTable is a file of key/value string pairs, sorted by keys

SSTable stands for Sorted Strings Table a concept borrowed from Google BigTable which stores a set of immutable row fragments in sorted order based on row keys.

SSTable files of a column family are stored in its respective column family directory.

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