System Design Flashcards

1
Q

2^10

A

1024

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

Gigabyte is 10 power of

A

10^9

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

Web socket

A

Bidirectional connection mainly used for chat

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

TCP server port limit

A

16 bit port number =

64,000 open connections max per server

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

Count min sketch

A

Get approximate counts of large number of keys by using multiple hash functions with fixed size array.
Increment count in each array on hit.
The approximate count is the min of the hash of key from all arrays

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

Spatial data

A

Grids and quad trees

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

1 million requests per day is how many per second

A

12 or 10 requests per second

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

1 billion bytes is how many in gb

A

33

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

How does relational database achieve atomicity ?

A

Write ahead logging

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

How does relational database achieve isolation ?

A

Locking records/rows for reads or writes

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