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.56 ± 0.010.76 ± 0.060.94 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.57 ± 0.000.91 ± 0.011.15 ± 0.071.1
0.8 ± 0.0100.0 ± 0.00.58 ± 0.001.11 ± 0.041.56 ± 0.071.3
1.6 ± 0.099.7 ± 0.10.63 ± 0.011.78 ± 0.062.72 ± 0.131.9
2.0 ± 0.098.9 ± 0.10.82 ± 0.002.27 ± 0.063.15 ± 0.052.3
2.6 ± 0.093.9 ± 0.30.96 ± 0.012.93 ± 0.063.51 ± 0.033.1
3.1 ± 0.076.1 ± 0.51.37 ± 0.053.29 ± 0.013.60 ± 0.014.1
3.7 ± 0.045.2 ± 0.31.71 ± 0.033.41 ± 0.013.64 ± 0.024.9
4.1 ± 0.024.9 ± 0.11.82 ± 0.013.42 ± 0.013.63 ± 0.025.2
4.4 ± 0.010.8 ± 0.11.92 ± 0.023.41 ± 0.013.60 ± 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.56 ± 0.000.70 ± 0.020.88 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.57 ± 0.000.82 ± 0.031.01 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.58 ± 0.000.96 ± 0.021.21 ± 0.031.3
1.6 ± 0.0100.0 ± 0.00.62 ± 0.001.24 ± 0.021.68 ± 0.031.6
2.1 ± 0.0100.0 ± 0.00.66 ± 0.011.42 ± 0.032.00 ± 0.051.9
2.7 ± 0.099.4 ± 0.00.75 ± 0.011.82 ± 0.032.55 ± 0.052.4
3.9 ± 0.094.1 ± 0.41.06 ± 0.012.55 ± 0.033.05 ± 0.033.7
5.0 ± 0.060.9 ± 0.31.63 ± 0.012.97 ± 0.023.30 ± 0.035.3
5.4 ± 0.032.9 ± 0.21.79 ± 0.013.09 ± 0.013.38 ± 0.015.7
5.7 ± 0.014.0 ± 0.01.85 ± 0.013.16 ± 0.013.42 ± 0.015.8

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.56 ± 0.000.70 ± 0.010.87 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.57 ± 0.000.76 ± 0.010.94 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.58 ± 0.000.84 ± 0.011.05 ± 0.031.2
1.6 ± 0.0100.0 ± 0.00.61 ± 0.000.98 ± 0.011.24 ± 0.021.5
2.0 ± 0.0100.0 ± 0.00.64 ± 0.001.08 ± 0.011.42 ± 0.021.7
2.8 ± 0.0100.0 ± 0.00.68 ± 0.001.22 ± 0.031.63 ± 0.062.0
4.1 ± 0.099.5 ± 0.10.77 ± 0.001.59 ± 0.012.15 ± 0.042.7
7.3 ± 0.089.0 ± 0.31.13 ± 0.002.31 ± 0.012.68 ± 0.024.5
9.8 ± 0.059.6 ± 0.31.50 ± 0.002.59 ± 0.012.89 ± 0.025.6
11.5 ± 0.028.1 ± 0.01.78 ± 0.012.83 ± 0.013.11 ± 0.026.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.55 ± 0.010.69 ± 0.010.80 ± 0.081.0
0.4 ± 0.0100.0 ± 0.00.56 ± 0.000.73 ± 0.010.86 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.58 ± 0.000.79 ± 0.020.97 ± 0.031.2
1.6 ± 0.0100.0 ± 0.00.61 ± 0.000.91 ± 0.011.15 ± 0.021.5
2.1 ± 0.0100.0 ± 0.00.63 ± 0.000.98 ± 0.011.21 ± 0.021.6
2.7 ± 0.0100.0 ± 0.00.67 ± 0.001.07 ± 0.011.38 ± 0.031.9
4.1 ± 0.099.9 ± 0.10.72 ± 0.001.30 ± 0.021.73 ± 0.022.4
7.7 ± 0.093.7 ± 0.20.97 ± 0.011.91 ± 0.012.28 ± 0.014.0
11.0 ± 0.167.0 ± 0.11.23 ± 0.012.16 ± 0.012.45 ± 0.015.3
13.2 ± 0.032.1 ± 0.11.40 ± 0.002.27 ± 0.012.53 ± 0.015.9

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.52 ± 0.010.66 ± 0.010.75 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.56 ± 0.000.73 ± 0.010.85 ± 0.061.1
0.8 ± 0.0100.0 ± 0.00.57 ± 0.000.77 ± 0.010.90 ± 0.031.2
1.6 ± 0.0100.0 ± 0.00.61 ± 0.000.87 ± 0.011.05 ± 0.031.5
2.1 ± 0.0100.0 ± 0.00.63 ± 0.000.91 ± 0.011.13 ± 0.041.6
2.7 ± 0.0100.0 ± 0.00.66 ± 0.001.00 ± 0.021.25 ± 0.011.9
4.1 ± 0.099.9 ± 0.00.71 ± 0.001.18 ± 0.011.54 ± 0.022.4
7.8 ± 0.094.8 ± 0.20.88 ± 0.001.71 ± 0.012.04 ± 0.023.8
11.3 ± 0.069.2 ± 0.21.12 ± 0.001.94 ± 0.012.20 ± 0.025.1
13.5 ± 0.033.0 ± 0.11.26 ± 0.002.01 ± 0.002.25 ± 0.015.8

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.44 ± 0.010.65 ± 0.010.72 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.53 ± 0.010.71 ± 0.010.80 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.56 ± 0.000.76 ± 0.010.88 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.60 ± 0.010.84 ± 0.011.01 ± 0.021.5
2.1 ± 0.0100.0 ± 0.00.62 ± 0.000.88 ± 0.001.07 ± 0.011.6
2.7 ± 0.0100.0 ± 0.00.66 ± 0.000.94 ± 0.011.16 ± 0.041.8
4.1 ± 0.099.9 ± 0.00.71 ± 0.001.11 ± 0.021.42 ± 0.052.3
7.8 ± 0.095.1 ± 0.10.85 ± 0.001.61 ± 0.011.88 ± 0.013.8
11.5 ± 0.069.9 ± 0.21.07 ± 0.001.80 ± 0.012.01 ± 0.015.1
13.7 ± 0.133.4 ± 0.11.20 ± 0.001.85 ± 0.012.05 ± 0.015.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