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.78 ± 0.001.05 ± 0.131.32 ± 0.071.1
0.4 ± 0.0100.0 ± 0.00.78 ± 0.001.29 ± 0.011.81 ± 0.101.2
0.8 ± 0.0100.0 ± 0.00.80 ± 0.001.79 ± 0.032.65 ± 0.171.4
1.6 ± 0.097.9 ± 0.31.17 ± 0.003.54 ± 0.064.64 ± 0.092.4
1.9 ± 0.093.4 ± 0.31.29 ± 0.024.15 ± 0.044.96 ± 0.043.1
2.3 ± 0.083.3 ± 0.51.70 ± 0.014.52 ± 0.045.04 ± 0.013.7
2.6 ± 0.064.4 ± 0.22.15 ± 0.024.80 ± 0.035.10 ± 0.014.5
3.0 ± 0.036.7 ± 0.22.57 ± 0.014.86 ± 0.025.09 ± 0.025.1
3.2 ± 0.019.5 ± 0.22.64 ± 0.024.87 ± 0.015.09 ± 0.015.3
3.4 ± 0.08.2 ± 0.02.69 ± 0.044.87 ± 0.015.07 ± 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.77 ± 0.011.03 ± 0.081.26 ± 0.071.1
0.4 ± 0.0100.0 ± 0.00.78 ± 0.001.21 ± 0.011.49 ± 0.061.1
0.8 ± 0.0100.0 ± 0.00.80 ± 0.001.47 ± 0.041.94 ± 0.091.4
1.6 ± 0.099.7 ± 0.21.01 ± 0.012.38 ± 0.033.48 ± 0.102.1
2.0 ± 0.098.7 ± 0.21.12 ± 0.012.94 ± 0.054.02 ± 0.062.5
2.5 ± 0.093.0 ± 0.61.46 ± 0.023.71 ± 0.054.39 ± 0.073.5
3.1 ± 0.075.0 ± 0.31.96 ± 0.024.18 ± 0.034.62 ± 0.024.5
3.5 ± 0.042.6 ± 0.22.40 ± 0.014.42 ± 0.014.76 ± 0.015.3
3.7 ± 0.022.7 ± 0.12.46 ± 0.024.50 ± 0.004.81 ± 0.015.4
3.9 ± 0.09.5 ± 0.12.50 ± 0.024.57 ± 0.014.87 ± 0.025.4

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.77 ± 0.010.96 ± 0.051.19 ± 0.051.1
0.4 ± 0.0100.0 ± 0.00.78 ± 0.001.12 ± 0.011.34 ± 0.041.2
0.8 ± 0.0100.0 ± 0.00.80 ± 0.001.32 ± 0.031.71 ± 0.071.3
1.7 ± 0.0100.0 ± 0.00.99 ± 0.011.84 ± 0.032.54 ± 0.051.9
2.0 ± 0.099.8 ± 0.11.04 ± 0.002.10 ± 0.032.93 ± 0.112.2
2.7 ± 0.098.9 ± 0.11.17 ± 0.022.66 ± 0.053.55 ± 0.022.9
3.8 ± 0.091.9 ± 0.31.55 ± 0.023.40 ± 0.043.94 ± 0.044.0
5.3 ± 0.064.0 ± 0.32.12 ± 0.013.83 ± 0.024.14 ± 0.025.3
6.0 ± 0.036.8 ± 0.12.42 ± 0.013.97 ± 0.014.25 ± 0.015.8
6.6 ± 0.016.1 ± 0.12.59 ± 0.024.08 ± 0.014.32 ± 0.016.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.75 ± 0.010.96 ± 0.051.13 ± 0.041.1
0.4 ± 0.0100.0 ± 0.00.78 ± 0.001.09 ± 0.021.30 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.80 ± 0.001.26 ± 0.041.55 ± 0.081.3
1.6 ± 0.0100.0 ± 0.00.97 ± 0.011.64 ± 0.032.19 ± 0.061.8
2.0 ± 0.099.9 ± 0.11.03 ± 0.001.86 ± 0.022.53 ± 0.022.1
2.7 ± 0.099.4 ± 0.01.10 ± 0.012.32 ± 0.033.12 ± 0.072.7
3.9 ± 0.094.9 ± 0.21.40 ± 0.013.05 ± 0.023.59 ± 0.013.8
5.6 ± 0.068.7 ± 0.11.91 ± 0.023.47 ± 0.013.80 ± 0.015.1
6.4 ± 0.039.0 ± 0.22.15 ± 0.013.58 ± 0.013.87 ± 0.015.7
6.9 ± 0.016.7 ± 0.02.29 ± 0.013.62 ± 0.013.88 ± 0.016.0

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.74 ± 0.000.94 ± 0.021.10 ± 0.031.1
0.4 ± 0.0100.0 ± 0.00.77 ± 0.001.08 ± 0.021.30 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.79 ± 0.001.21 ± 0.031.53 ± 0.071.3
1.7 ± 0.0100.0 ± 0.00.96 ± 0.011.58 ± 0.032.09 ± 0.031.8
2.0 ± 0.099.9 ± 0.01.02 ± 0.001.80 ± 0.062.40 ± 0.072.1
2.7 ± 0.099.4 ± 0.11.09 ± 0.012.20 ± 0.032.99 ± 0.032.6
3.9 ± 0.095.4 ± 0.31.33 ± 0.012.86 ± 0.023.37 ± 0.023.6
5.8 ± 0.069.9 ± 0.11.83 ± 0.013.30 ± 0.013.60 ± 0.015.1
6.5 ± 0.039.5 ± 0.12.08 ± 0.013.37 ± 0.013.63 ± 0.015.7
6.9 ± 0.016.9 ± 0.12.16 ± 0.013.40 ± 0.013.66 ± 0.015.9

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.66 ± 0.020.89 ± 0.011.08 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.74 ± 0.011.05 ± 0.011.17 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.78 ± 0.001.18 ± 0.021.44 ± 0.031.3
1.6 ± 0.0100.0 ± 0.00.91 ± 0.021.53 ± 0.031.94 ± 0.061.8
2.1 ± 0.099.9 ± 0.01.01 ± 0.011.71 ± 0.032.30 ± 0.082.0
2.7 ± 0.099.5 ± 0.11.07 ± 0.002.12 ± 0.052.85 ± 0.092.6
3.9 ± 0.095.6 ± 0.21.30 ± 0.012.79 ± 0.023.28 ± 0.023.6
5.8 ± 0.070.7 ± 0.21.78 ± 0.013.20 ± 0.013.44 ± 0.015.0
6.6 ± 0.040.0 ± 0.12.02 ± 0.013.26 ± 0.013.47 ± 0.015.7
7.0 ± 0.017.0 ± 0.12.11 ± 0.013.27 ± 0.013.48 ± 0.005.9

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