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.000.87 ± 0.121.13 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.001.10 ± 0.011.49 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.46 ± 0.021.98 ± 0.101.3
1.6 ± 0.099.3 ± 0.20.75 ± 0.012.50 ± 0.123.61 ± 0.162.0
2.0 ± 0.097.5 ± 0.21.04 ± 0.003.14 ± 0.054.11 ± 0.102.5
2.5 ± 0.090.7 ± 0.31.25 ± 0.123.78 ± 0.014.32 ± 0.013.3
3.0 ± 0.074.0 ± 0.21.74 ± 0.044.05 ± 0.054.37 ± 0.014.2
3.6 ± 0.043.8 ± 0.32.20 ± 0.014.22 ± 0.014.39 ± 0.015.0
3.8 ± 0.023.1 ± 0.12.28 ± 0.014.23 ± 0.014.39 ± 0.015.3
4.0 ± 0.09.8 ± 0.02.31 ± 0.034.23 ± 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.000.85 ± 0.051.08 ± 0.071.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.001.02 ± 0.031.19 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.17 ± 0.021.61 ± 0.091.3
1.6 ± 0.099.9 ± 0.10.75 ± 0.011.77 ± 0.072.52 ± 0.081.8
2.0 ± 0.099.6 ± 0.10.90 ± 0.012.13 ± 0.053.06 ± 0.062.1
2.7 ± 0.097.2 ± 0.21.06 ± 0.012.86 ± 0.063.64 ± 0.062.9
3.5 ± 0.084.5 ± 0.31.49 ± 0.013.52 ± 0.023.96 ± 0.014.1
4.1 ± 0.050.1 ± 0.31.99 ± 0.033.85 ± 0.014.12 ± 0.015.1
4.4 ± 0.026.7 ± 0.12.06 ± 0.023.91 ± 0.014.17 ± 0.015.2
4.7 ± 0.011.5 ± 0.02.11 ± 0.023.98 ± 0.014.22 ± 0.025.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.80 ± 0.020.98 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.000.96 ± 0.031.15 ± 0.071.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.09 ± 0.011.38 ± 0.011.3
1.6 ± 0.0100.0 ± 0.00.74 ± 0.001.40 ± 0.011.85 ± 0.031.7
2.1 ± 0.099.9 ± 0.00.88 ± 0.011.59 ± 0.032.17 ± 0.051.9
2.7 ± 0.099.7 ± 0.10.94 ± 0.002.00 ± 0.052.76 ± 0.032.4
4.0 ± 0.096.7 ± 0.21.21 ± 0.012.71 ± 0.013.34 ± 0.013.4
6.0 ± 0.073.6 ± 0.31.76 ± 0.023.30 ± 0.023.60 ± 0.025.0
7.1 ± 0.043.5 ± 0.22.11 ± 0.013.47 ± 0.013.69 ± 0.015.7
7.7 ± 0.018.8 ± 0.12.25 ± 0.013.56 ± 0.013.75 ± 0.026.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.67 ± 0.000.79 ± 0.010.94 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.68 ± 0.000.94 ± 0.011.10 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.04 ± 0.021.29 ± 0.061.3
1.6 ± 0.0100.0 ± 0.00.74 ± 0.001.32 ± 0.021.68 ± 0.051.6
2.0 ± 0.0100.0 ± 0.00.87 ± 0.001.44 ± 0.011.94 ± 0.071.9
2.7 ± 0.099.9 ± 0.10.92 ± 0.001.77 ± 0.042.40 ± 0.072.3
4.0 ± 0.098.2 ± 0.21.11 ± 0.012.38 ± 0.042.99 ± 0.033.2
6.5 ± 0.078.8 ± 0.31.58 ± 0.013.00 ± 0.003.31 ± 0.014.8
7.6 ± 0.046.2 ± 0.11.90 ± 0.013.14 ± 0.003.36 ± 0.015.7
8.0 ± 0.019.4 ± 0.12.01 ± 0.003.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.000.79 ± 0.020.92 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.67 ± 0.000.92 ± 0.011.06 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.69 ± 0.001.00 ± 0.011.23 ± 0.031.2
1.6 ± 0.0100.0 ± 0.00.74 ± 0.011.23 ± 0.021.61 ± 0.071.6
2.0 ± 0.0100.0 ± 0.00.87 ± 0.011.40 ± 0.011.79 ± 0.071.8
2.7 ± 0.099.9 ± 0.10.92 ± 0.001.64 ± 0.012.20 ± 0.052.2
4.0 ± 0.098.6 ± 0.11.03 ± 0.012.21 ± 0.042.81 ± 0.023.1
6.6 ± 0.080.2 ± 0.31.46 ± 0.012.84 ± 0.013.12 ± 0.014.7
7.7 ± 0.046.8 ± 0.11.85 ± 0.002.97 ± 0.013.18 ± 0.015.7
8.0 ± 0.019.5 ± 0.11.92 ± 0.012.99 ± 0.003.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.89 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.65 ± 0.000.90 ± 0.011.02 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.68 ± 0.000.98 ± 0.011.19 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.73 ± 0.001.20 ± 0.011.56 ± 0.041.6
2.1 ± 0.0100.0 ± 0.00.84 ± 0.021.36 ± 0.011.75 ± 0.061.8
2.7 ± 0.099.8 ± 0.10.91 ± 0.001.61 ± 0.012.14 ± 0.032.2
4.1 ± 0.098.4 ± 0.11.00 ± 0.002.14 ± 0.022.74 ± 0.063.0
6.6 ± 0.080.3 ± 0.31.40 ± 0.002.76 ± 0.012.97 ± 0.014.6
7.7 ± 0.047.1 ± 0.11.85 ± 0.012.86 ± 0.003.04 ± 0.015.8
8.0 ± 0.019.6 ± 0.01.88 ± 0.012.88 ± 0.003.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