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.68 ± 0.010.86 ± 0.101.14 ± 0.021.1
0.4 ± 0.0100.0 ± 0.00.68 ± 0.001.11 ± 0.011.49 ± 0.081.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.45 ± 0.031.92 ± 0.071.3
1.6 ± 0.099.3 ± 0.00.75 ± 0.012.55 ± 0.113.58 ± 0.082.0
2.0 ± 0.097.6 ± 0.21.04 ± 0.013.12 ± 0.094.05 ± 0.062.5
2.5 ± 0.090.3 ± 0.41.31 ± 0.093.79 ± 0.034.31 ± 0.013.3
3.0 ± 0.074.2 ± 0.61.73 ± 0.074.04 ± 0.044.37 ± 0.014.2
3.6 ± 0.043.6 ± 0.22.20 ± 0.024.22 ± 0.014.39 ± 0.015.0
3.8 ± 0.023.2 ± 0.12.28 ± 0.024.23 ± 0.014.39 ± 0.015.3
4.0 ± 0.09.8 ± 0.02.33 ± 0.034.24 ± 0.014.38 ± 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.68 ± 0.010.82 ± 0.041.09 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.001.04 ± 0.011.24 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.19 ± 0.031.63 ± 0.061.3
1.6 ± 0.099.9 ± 0.00.75 ± 0.011.76 ± 0.032.53 ± 0.101.8
2.0 ± 0.099.5 ± 0.20.90 ± 0.012.18 ± 0.083.09 ± 0.092.1
2.7 ± 0.097.1 ± 0.21.07 ± 0.012.85 ± 0.063.62 ± 0.082.9
3.5 ± 0.084.6 ± 0.41.48 ± 0.023.51 ± 0.013.95 ± 0.014.1
4.1 ± 0.050.3 ± 0.31.98 ± 0.023.83 ± 0.014.12 ± 0.015.1
4.4 ± 0.026.8 ± 0.12.08 ± 0.023.92 ± 0.014.17 ± 0.025.2
4.7 ± 0.011.5 ± 0.12.10 ± 0.013.98 ± 0.014.22 ± 0.015.2

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.67 ± 0.000.79 ± 0.010.97 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.000.96 ± 0.031.15 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.09 ± 0.021.40 ± 0.041.3
1.6 ± 0.0100.0 ± 0.00.74 ± 0.011.40 ± 0.011.88 ± 0.071.6
2.0 ± 0.0100.0 ± 0.00.88 ± 0.001.58 ± 0.042.18 ± 0.081.9
2.7 ± 0.099.7 ± 0.10.94 ± 0.001.98 ± 0.032.67 ± 0.102.4
4.0 ± 0.096.6 ± 0.31.19 ± 0.012.73 ± 0.023.32 ± 0.033.4
6.0 ± 0.073.7 ± 0.21.76 ± 0.013.32 ± 0.023.61 ± 0.015.0
7.1 ± 0.043.6 ± 0.12.11 ± 0.013.47 ± 0.003.70 ± 0.015.7
7.7 ± 0.018.8 ± 0.12.25 ± 0.013.57 ± 0.013.75 ± 0.016.0

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.66 ± 0.000.85 ± 0.031.00 ± 0.041.1
0.4 ± 0.0100.0 ± 0.00.68 ± 0.000.93 ± 0.011.09 ± 0.061.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.07 ± 0.031.32 ± 0.061.3
1.6 ± 0.0100.0 ± 0.00.74 ± 0.001.29 ± 0.031.68 ± 0.031.6
2.1 ± 0.0100.0 ± 0.00.87 ± 0.001.46 ± 0.021.92 ± 0.051.8
2.7 ± 0.099.8 ± 0.00.92 ± 0.011.77 ± 0.032.44 ± 0.072.3
4.0 ± 0.098.1 ± 0.11.11 ± 0.012.35 ± 0.022.97 ± 0.033.2
6.5 ± 0.078.9 ± 0.41.58 ± 0.013.01 ± 0.013.32 ± 0.014.8
7.6 ± 0.046.2 ± 0.21.91 ± 0.013.14 ± 0.013.36 ± 0.015.7
8.0 ± 0.019.4 ± 0.12.01 ± 0.013.17 ± 0.013.38 ± 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.65 ± 0.010.79 ± 0.010.96 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.67 ± 0.000.93 ± 0.011.06 ± 0.071.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.02 ± 0.021.24 ± 0.051.3
1.6 ± 0.0100.0 ± 0.00.74 ± 0.011.24 ± 0.031.63 ± 0.031.6
2.0 ± 0.0100.0 ± 0.00.87 ± 0.011.40 ± 0.021.85 ± 0.061.8
2.7 ± 0.099.9 ± 0.10.92 ± 0.001.63 ± 0.012.20 ± 0.082.2
4.0 ± 0.098.4 ± 0.11.04 ± 0.032.21 ± 0.032.78 ± 0.013.1
6.6 ± 0.080.4 ± 0.21.45 ± 0.012.83 ± 0.013.12 ± 0.014.7
7.7 ± 0.046.8 ± 0.21.86 ± 0.012.97 ± 0.003.17 ± 0.015.7
8.0 ± 0.019.6 ± 0.11.92 ± 0.002.99 ± 0.013.19 ± 0.016.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.58 ± 0.020.76 ± 0.010.91 ± 0.071.0
0.4 ± 0.0100.0 ± 0.00.65 ± 0.000.90 ± 0.011.01 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.68 ± 0.000.98 ± 0.011.20 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.72 ± 0.001.20 ± 0.011.54 ± 0.051.6
2.1 ± 0.0100.0 ± 0.00.84 ± 0.011.34 ± 0.041.73 ± 0.071.8
2.7 ± 0.099.8 ± 0.10.91 ± 0.001.61 ± 0.012.13 ± 0.032.2
4.0 ± 0.098.4 ± 0.20.98 ± 0.002.13 ± 0.012.73 ± 0.033.0
6.6 ± 0.080.6 ± 0.41.40 ± 0.002.76 ± 0.012.97 ± 0.014.6
7.7 ± 0.047.2 ± 0.11.85 ± 0.002.86 ± 0.003.03 ± 0.015.8
8.0 ± 0.019.6 ± 0.11.88 ± 0.002.88 ± 0.013.04 ± 0.016.0

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