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.47 ± 0.000.60 ± 0.020.77 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.73 ± 0.010.86 ± 0.071.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.79 ± 0.021.09 ± 0.081.2
1.6 ± 0.099.9 ± 0.00.50 ± 0.001.21 ± 0.041.75 ± 0.101.6
2.0 ± 0.099.8 ± 0.10.52 ± 0.001.46 ± 0.042.15 ± 0.111.8
2.7 ± 0.098.3 ± 0.10.68 ± 0.001.92 ± 0.052.63 ± 0.032.4
3.6 ± 0.087.8 ± 0.30.93 ± 0.002.54 ± 0.022.87 ± 0.013.5
4.6 ± 0.055.7 ± 0.21.29 ± 0.012.74 ± 0.012.92 ± 0.004.7
5.2 ± 0.031.4 ± 0.21.47 ± 0.002.76 ± 0.012.92 ± 0.015.2
5.6 ± 0.013.7 ± 0.11.54 ± 0.022.76 ± 0.012.91 ± 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.47 ± 0.000.58 ± 0.010.73 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.65 ± 0.010.81 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.74 ± 0.010.91 ± 0.061.2
1.6 ± 0.0100.0 ± 0.00.50 ± 0.000.88 ± 0.021.20 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.51 ± 0.000.98 ± 0.011.33 ± 0.031.6
2.7 ± 0.099.9 ± 0.00.54 ± 0.001.17 ± 0.031.65 ± 0.091.9
4.1 ± 0.098.7 ± 0.20.70 ± 0.011.69 ± 0.022.24 ± 0.032.8
6.2 ± 0.075.0 ± 0.41.22 ± 0.012.36 ± 0.012.65 ± 0.015.0
6.8 ± 0.041.7 ± 0.11.44 ± 0.012.51 ± 0.012.74 ± 0.015.7
7.3 ± 0.017.7 ± 0.11.49 ± 0.012.56 ± 0.012.76 ± 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.46 ± 0.000.57 ± 0.010.65 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.58 ± 0.000.69 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.64 ± 0.010.79 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.000.75 ± 0.010.92 ± 0.011.4
2.1 ± 0.0100.0 ± 0.00.51 ± 0.000.80 ± 0.011.00 ± 0.021.5
2.7 ± 0.0100.0 ± 0.00.53 ± 0.000.87 ± 0.011.13 ± 0.021.7
4.1 ± 0.0100.0 ± 0.00.57 ± 0.001.03 ± 0.021.37 ± 0.022.1
8.0 ± 0.197.5 ± 0.10.78 ± 0.011.64 ± 0.022.05 ± 0.033.5
12.5 ± 0.075.9 ± 0.11.15 ± 0.002.08 ± 0.012.35 ± 0.015.2
15.2 ± 0.037.0 ± 0.11.49 ± 0.012.34 ± 0.012.58 ± 0.016.2

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.46 ± 0.000.56 ± 0.000.63 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.59 ± 0.010.68 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.62 ± 0.000.76 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.000.69 ± 0.010.86 ± 0.011.4
2.1 ± 0.0100.0 ± 0.00.50 ± 0.000.72 ± 0.010.89 ± 0.021.5
2.7 ± 0.0100.0 ± 0.00.52 ± 0.000.79 ± 0.010.98 ± 0.021.6
4.1 ± 0.0100.0 ± 0.00.56 ± 0.000.89 ± 0.011.11 ± 0.012.0
8.1 ± 0.099.2 ± 0.10.65 ± 0.001.26 ± 0.011.62 ± 0.023.0
14.1 ± 0.085.7 ± 0.30.90 ± 0.001.69 ± 0.011.96 ± 0.014.7
18.1 ± 0.143.9 ± 0.11.13 ± 0.001.83 ± 0.002.04 ± 0.015.8

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.44 ± 0.000.55 ± 0.010.62 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.46 ± 0.000.58 ± 0.000.66 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.47 ± 0.000.62 ± 0.010.71 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.000.66 ± 0.010.79 ± 0.011.4
2.0 ± 0.0100.0 ± 0.00.50 ± 0.000.68 ± 0.000.82 ± 0.011.4
2.7 ± 0.0100.0 ± 0.00.52 ± 0.000.72 ± 0.000.89 ± 0.001.6
4.1 ± 0.0100.0 ± 0.00.55 ± 0.000.81 ± 0.011.02 ± 0.031.9
8.2 ± 0.099.5 ± 0.10.62 ± 0.001.10 ± 0.011.40 ± 0.022.9
14.3 ± 0.087.3 ± 0.20.80 ± 0.001.46 ± 0.011.70 ± 0.004.4
18.4 ± 0.045.0 ± 0.11.02 ± 0.001.59 ± 0.001.78 ± 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.36 ± 0.010.53 ± 0.010.59 ± 0.061.0
0.4 ± 0.0100.0 ± 0.00.44 ± 0.010.57 ± 0.000.64 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.000.60 ± 0.000.68 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.48 ± 0.000.65 ± 0.010.74 ± 0.011.3
2.1 ± 0.0100.0 ± 0.00.50 ± 0.000.66 ± 0.010.78 ± 0.021.4
2.7 ± 0.0100.0 ± 0.00.52 ± 0.000.70 ± 0.010.82 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.55 ± 0.000.76 ± 0.000.94 ± 0.011.9
8.2 ± 0.099.5 ± 0.00.61 ± 0.001.02 ± 0.011.29 ± 0.012.8
14.3 ± 0.087.4 ± 0.30.74 ± 0.001.34 ± 0.011.53 ± 0.004.2
18.6 ± 0.045.3 ± 0.20.97 ± 0.001.45 ± 0.001.60 ± 0.005.8

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