delivery Flashcards

(22 cards)

1
Q

Framework: step 1

A

Requirements

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

Framework: step 2

A

Core Entities

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

Framework: step 3

A

API or interface

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

Framework: step 4

A

Data flow

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

Framework: step 5

A

high level design, satisfy functional requirement

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

Framework: step 6

A

deep dives, satisfy non-functional requirements

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

Type of Requirements

A

Functional and non-functional

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

Functional Requirements format

A

Users/Clients should be able to…

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

Non-Functional Requirements format

A

The system should be able to…

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

checklist to consider

A

CAP Theorem, Environment Constraints, Scalability, Latency, Durability, Security, Fault Tolerance, Compliance

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

CAP Theorem

A

Should your system prioritize consistency or availability? Note, partition tolerance is a given in distributed systems.

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

Environment Constraints

A

Are there any constraints on the environment in which your system will run? For example, are you running on a mobile device with limited battery life? Running on devices with limited memory or limited bandwidth (e.g. streaming video on 3G)?

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

Scalability

A

All systems need to scale, but does this system have unique scaling requirements? For example, does it have bursty traffic at a specific time of day? Are there events, like holidays, that will cause a significant increase in traffic? Also consider the read vs write ratio here. Does your system need to scale reads or writes more?

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

Latency

A

How quickly does the system need to respond to user requests? Specifically consider any requests that require meaningful computation. For example, low latency search when designing Yelp.

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

Durability

A

How important is it that the data in your system is not lost? For example, a social network might be able to tolerate some data loss, but a banking system cannot.

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

Security

A

How secure does the system need to be? Consider data protection, access control, and compliance with regulations.

17
Q

Fault Tolerance

A

How well does the system need to handle failures? Consider redundancy, failover, and recovery mechanisms.

18
Q

Compliance

A

Are there legal or regulatory requirements the system needs to meet? Consider industry standards, data protection laws, and other regulations.

19
Q

REST core entities

A

POST /v1/tweet
body: {
“text”: string
}

GET /v1/tweet/:tweetId -> Tweet

POST /v1/follow/:userId

GET /v1/feed -> Tweet[]

20
Q

key components in diagram

A

client, api gateway, services, database

21
Q

relevant component

A

ML inference layer

22
Q

word for fetching list of items

A

pageSize, cursor