Systems Design Elements Flashcards

1
Q

Metadata database

A

A separate database that only handles metadata

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

Chunking functionality

A

An app/service that breaks file data in to chunks and rebuilds it

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

Listener/watcher functionality

A

Monitor a particular element for changes (e.g. via long polling) and notify another target element

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

Indexing functionality

A

Process changes in one file and updates the metadata database with information

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

Message queueing service (and 2 main components)

A

Asynchronous, loosely coupled communication between distributed system components. 2 main elements:

  • Request Queue - shared between all clients
  • Response Queues - unique to each client
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data deduplication handling (and 2 ways)

A

Eliminating duplicate copies of data by calculating hashes of data chunks and comparing to existing chunks
2 ways:
* post process: chunks are stored first then a cleanup process removes duplicates later
* in-line duplication: hashes are calculated in real time

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

Throttling (3 types)

A
  • hard throttling
  • soft throttling
  • elastic/dynamic throttling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hard throttling

A

of API requests cannot exceed a hard limit

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

Soft throttling

A

of API requests cannot exceed a % factor of the overall rate limit

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

Elastic or dynamic throttling

A

of requests can exceed threshold if system has resources available

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

Rate limiting

A

definition of the rate and speed at which clients can access APIs

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

Rate limiting - fixed window algorithm

A

requests are limited within fixed time windows regardless of when requests are made

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

Rate limiting - rolling window algorithm

A

requests are limited within rolling time windows based on when requests are made

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