Base Rates Flashcards

(27 cards)

1
Q

Sequential Memory R/W (64 bytes)

A

Latency: 5 ns
Throughput: 50 Gib/s
1 Mib: 20 μs
1 Gib: 20 ms

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

Hashing, not crypto-safe (64 bytes)

A

Latency: 25 ns
Throughput: 2 GiB/s
1 MiB: 500 μs
1 GiB: 500 ms

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

Random Memory R/W (64 bytes)

A

Latency: 50 ns
Throughput: 1 GiB/s
1 MiB: 1 ms
1 GiB: 1 s

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

Fast Serialization

A

Latency: N/A
Throughput: 1 GiB/s
1 MiB: 1 ms
1 GiB: 1 s

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

Fast Deserialization

A

Latency: N/A
Throughput: 1 GiB/s
1 MiB: 1 ms
1 GiB: 1 s

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

System Call

A

Latency: 500 ns

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

Hashing, crypto-safe (64 bytes)

A

Latency: 500 ns
Throughput: 200 MiB/s
1 MiB: 10 ms
1 GiB: 10s

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

Sequential SSD read (8 KiB)

A

Latency: 1 μs
Throughput: 4 GiB/s
1 MiB: 200 μs
1 GiB: 200 ms

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

Context Switch

A

Latency: 10 μs

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

Sequential SSD write, -fsync (8KiB)

A

Latency: 10 μs
Throughput: 1 GiB/s
1 MiB: 1 ms
1 GiB: 1s

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

TCP Echo Server (32 KiB)

A

Latency: 10 μs
Throughput: 4 GiB/s
1 MiB: 200 μs
1 GiB: 200 ms

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

Decompression

A

Throughput: 1 GiB/s
1 MiB: 1 ms
1 GiB: 1s

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

Compression

A

Throughput: 500 MiB/s
1 MiB: 2 ms
1 GiB: 2s

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

Sequential SSD write, +fsync (8KiB)

A

Latency: 1 ms
Throughput: 10 MiB/s
1 MiB: 100 ms
1 GiB: 2 min

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

Sorting (64-bit integers)

A

Throughput: 200 MiB/s
1 MiB: 5 ms
1 GiB: 5s

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

Random SSD Seek (8 KiB)

A

Latency: 100 μs
Throughput: 70 MiB/s
1 MiB: 15 ms
1 GiB: 15s

17
Q

Serialization

A

Throughput: 100 MiB/s
1 MiB: 10 ms
1 GiB: 10s

18
Q

Deserialization

A

Throughput: 100 MiB/s
1 MiB: 10 ms
1 GiB: 10s

19
Q

Proxy: Envoy/ProxySQL/Nginx/HAProxy

A

Latency: 50 μs
Throughput: ?
1 MiB: ?
1 GiB: ?

20
Q

Network within same region

A

Latency: 250 μs
Throughput: 100 MiB/s
1 MiB: 10 ms
1 GiB: 10s

21
Q

Network between regions

A

Latency: varies (https://www.cloudping.co/grid#)
Throughput: 25 MiB/s
1 MiB: 40 ms
1 GiB: 40s

22
Q

Network NA East to West

A

Latency: 60 ms
Throughput: 25 MiB/s
1 MiB: 40 ms
1 GiB: 40s

23
Q

Network EU West to NA East

A

Latency: 80 ms
Throughput: 25 MiB/s
1 MiB: 40 ms
1 GiB: 40s

24
Q

Network EU West to Singapore

A

Latency: 160 ms
Throughput: 25 MiB/s
1 MiB: 40 ms
1 GiB: 40s

25
{MySQL, Memcached, Redis, ..} Query
Latency: 500 μs Throughput: ? 1 MiB: ? 1 GiB: ?
26
Random HDD Seek (8 KiB)
Latency: 10 ms Throughput: 70 MiB/s 1 MiB: 15 ms 1 GiB: 15 s
27
Network NA West to Singapore
Latency: 180 ms Throughput: 25 MiB/s 1 MiB: 40 ms 1 GiB: 40s