Commit Latency vs Throughput

Commit Latency vs Throughput

Analysis of how commit latency scales with achieved throughput.

Values shown as mean ± standard deviation across seeds.

num_tables = 1

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.42 ± 0.010.56 ± 0.020.69 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.42 ± 0.000.64 ± 0.010.79 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.43 ± 0.000.76 ± 0.021.01 ± 0.041.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.001.02 ± 0.041.43 ± 0.071.6
2.0 ± 0.099.9 ± 0.00.50 ± 0.011.22 ± 0.031.80 ± 0.051.8
2.7 ± 0.099.1 ± 0.10.60 ± 0.001.62 ± 0.042.25 ± 0.042.4
3.8 ± 0.091.3 ± 0.40.85 ± 0.012.19 ± 0.022.54 ± 0.013.6
4.6 ± 0.056.5 ± 0.21.16 ± 0.012.39 ± 0.012.60 ± 0.024.8
5.1 ± 0.031.3 ± 0.11.28 ± 0.012.40 ± 0.012.60 ± 0.015.2
5.7 ± 0.013.8 ± 0.11.33 ± 0.012.39 ± 0.002.58 ± 0.015.4

num_tables = 2

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.42 ± 0.000.55 ± 0.010.68 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.42 ± 0.000.58 ± 0.010.71 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.42 ± 0.000.66 ± 0.010.82 ± 0.041.2
1.6 ± 0.0100.0 ± 0.00.43 ± 0.000.77 ± 0.021.02 ± 0.051.4
2.0 ± 0.0100.0 ± 0.00.44 ± 0.000.83 ± 0.011.14 ± 0.041.6
2.7 ± 0.0100.0 ± 0.00.46 ± 0.000.96 ± 0.021.33 ± 0.041.8
4.1 ± 0.099.8 ± 0.10.53 ± 0.011.27 ± 0.021.78 ± 0.062.4
7.2 ± 0.087.1 ± 0.10.91 ± 0.002.03 ± 0.002.35 ± 0.014.7
8.4 ± 0.051.6 ± 0.11.15 ± 0.012.15 ± 0.002.40 ± 0.005.7
9.3 ± 0.022.7 ± 0.11.21 ± 0.012.19 ± 0.012.41 ± 0.015.9

num_tables = 5

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.41 ± 0.000.54 ± 0.010.61 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.41 ± 0.000.55 ± 0.010.66 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.42 ± 0.000.58 ± 0.010.72 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.43 ± 0.000.64 ± 0.010.79 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.43 ± 0.000.67 ± 0.010.83 ± 0.011.5
2.7 ± 0.0100.0 ± 0.00.44 ± 0.000.71 ± 0.010.93 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.45 ± 0.000.81 ± 0.021.06 ± 0.021.9
8.2 ± 0.099.8 ± 0.10.52 ± 0.001.14 ± 0.011.57 ± 0.032.8
15.1 ± 0.091.4 ± 0.10.80 ± 0.001.75 ± 0.012.14 ± 0.014.6
20.2 ± 0.149.2 ± 0.01.14 ± 0.012.06 ± 0.002.32 ± 0.006.1

num_tables = 10

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.39 ± 0.000.52 ± 0.010.58 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.41 ± 0.000.54 ± 0.010.63 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.42 ± 0.000.56 ± 0.010.69 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.42 ± 0.000.59 ± 0.010.73 ± 0.011.3
2.0 ± 0.0100.0 ± 0.00.43 ± 0.000.61 ± 0.010.75 ± 0.021.4
2.7 ± 0.0100.0 ± 0.00.43 ± 0.000.64 ± 0.010.78 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.44 ± 0.000.69 ± 0.000.87 ± 0.031.8
8.2 ± 0.0100.0 ± 0.00.47 ± 0.000.84 ± 0.011.09 ± 0.022.4
16.3 ± 0.099.1 ± 0.00.56 ± 0.001.18 ± 0.001.56 ± 0.013.5
30.9 ± 0.175.3 ± 0.10.86 ± 0.001.69 ± 0.012.05 ± 0.015.5

num_tables = 20

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.37 ± 0.010.51 ± 0.010.57 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.40 ± 0.000.53 ± 0.010.60 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.41 ± 0.000.55 ± 0.000.64 ± 0.021.2
1.7 ± 0.0100.0 ± 0.00.42 ± 0.000.56 ± 0.010.68 ± 0.011.3
2.0 ± 0.0100.0 ± 0.00.43 ± 0.000.57 ± 0.010.70 ± 0.011.4
2.7 ± 0.0100.0 ± 0.00.43 ± 0.000.59 ± 0.010.73 ± 0.011.5
4.1 ± 0.0100.0 ± 0.00.44 ± 0.000.63 ± 0.000.78 ± 0.011.8
8.2 ± 0.0100.0 ± 0.00.46 ± 0.000.72 ± 0.000.91 ± 0.012.3
16.3 ± 0.099.7 ± 0.00.49 ± 0.000.88 ± 0.001.15 ± 0.013.1
34.7 ± 0.184.5 ± 0.20.64 ± 0.001.21 ± 0.001.52 ± 0.005.0

num_tables = 50

Throughput (c/s)Success Rate (%)P50 Latency (s)P95 Latency (s)P99 Latency (s)Mean Retries
0.2 ± 0.0100.0 ± 0.00.29 ± 0.010.49 ± 0.010.56 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.38 ± 0.000.53 ± 0.010.60 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.40 ± 0.000.53 ± 0.010.61 ± 0.021.1
1.6 ± 0.0100.0 ± 0.00.42 ± 0.000.55 ± 0.010.65 ± 0.021.3
2.0 ± 0.0100.0 ± 0.00.42 ± 0.000.56 ± 0.000.65 ± 0.011.4
2.8 ± 0.0100.0 ± 0.00.43 ± 0.000.57 ± 0.000.67 ± 0.011.5
4.1 ± 0.0100.0 ± 0.00.44 ± 0.000.59 ± 0.000.71 ± 0.011.7
8.2 ± 0.0100.0 ± 0.00.45 ± 0.000.64 ± 0.000.78 ± 0.012.2
16.4 ± 0.199.8 ± 0.00.48 ± 0.000.75 ± 0.000.93 ± 0.012.9
35.7 ± 0.086.9 ± 0.10.55 ± 0.000.93 ± 0.001.14 ± 0.004.7

Notes

  • Latencies reported in seconds (converted from milliseconds)
  • Values shown as mean ± standard deviation across multiple seeds
  • Throughput = commits per second during steady-state window
  • Success rate = percentage of transactions that committed successfully
  • Mean retries = average number of retry attempts per committed transaction