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.63 ± 0.050.78 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.73 ± 0.010.92 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.81 ± 0.011.09 ± 0.051.2
1.6 ± 0.0100.0 ± 0.00.50 ± 0.001.16 ± 0.031.71 ± 0.091.6
2.1 ± 0.099.8 ± 0.10.52 ± 0.001.44 ± 0.032.16 ± 0.091.8
2.7 ± 0.098.4 ± 0.30.68 ± 0.011.94 ± 0.022.62 ± 0.062.4
3.6 ± 0.087.9 ± 0.60.95 ± 0.012.54 ± 0.022.87 ± 0.013.6
4.6 ± 0.055.8 ± 0.21.30 ± 0.012.74 ± 0.012.92 ± 0.014.7
5.2 ± 0.031.4 ± 0.11.48 ± 0.012.76 ± 0.002.92 ± 0.015.1
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.69 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.64 ± 0.010.80 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.74 ± 0.010.89 ± 0.011.2
1.7 ± 0.0100.0 ± 0.00.50 ± 0.000.89 ± 0.011.21 ± 0.061.4
2.0 ± 0.0100.0 ± 0.00.51 ± 0.001.00 ± 0.021.37 ± 0.071.6
2.7 ± 0.0100.0 ± 0.00.55 ± 0.001.18 ± 0.031.67 ± 0.061.9
4.1 ± 0.098.7 ± 0.20.70 ± 0.011.71 ± 0.032.26 ± 0.032.8
6.2 ± 0.075.2 ± 0.41.21 ± 0.012.37 ± 0.012.65 ± 0.015.0
6.8 ± 0.041.5 ± 0.21.43 ± 0.012.50 ± 0.012.74 ± 0.015.6
7.2 ± 0.017.7 ± 0.11.48 ± 0.012.56 ± 0.012.76 ± 0.005.7

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.56 ± 0.010.63 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.60 ± 0.010.74 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.65 ± 0.010.80 ± 0.001.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.000.76 ± 0.000.94 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.51 ± 0.000.80 ± 0.011.02 ± 0.011.5
2.7 ± 0.0100.0 ± 0.00.53 ± 0.000.87 ± 0.011.14 ± 0.031.7
4.1 ± 0.0100.0 ± 0.00.57 ± 0.001.03 ± 0.021.38 ± 0.022.1
8.0 ± 0.097.5 ± 0.10.78 ± 0.001.64 ± 0.012.05 ± 0.013.5
12.4 ± 0.075.9 ± 0.21.15 ± 0.012.08 ± 0.012.35 ± 0.015.2
15.2 ± 0.037.0 ± 0.11.49 ± 0.002.33 ± 0.012.57 ± 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.45 ± 0.010.56 ± 0.010.62 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.58 ± 0.010.67 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.62 ± 0.010.75 ± 0.011.2
1.7 ± 0.0100.0 ± 0.00.49 ± 0.000.69 ± 0.010.87 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.50 ± 0.000.73 ± 0.000.91 ± 0.021.5
2.7 ± 0.0100.0 ± 0.00.53 ± 0.000.78 ± 0.010.96 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.56 ± 0.000.89 ± 0.011.13 ± 0.022.0
8.1 ± 0.199.2 ± 0.10.65 ± 0.001.25 ± 0.011.63 ± 0.023.0
14.0 ± 0.185.6 ± 0.20.90 ± 0.001.68 ± 0.001.96 ± 0.014.7
18.0 ± 0.044.0 ± 0.11.13 ± 0.001.83 ± 0.002.04 ± 0.005.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.010.55 ± 0.010.61 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.46 ± 0.000.58 ± 0.000.64 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.47 ± 0.000.61 ± 0.000.70 ± 0.011.2
1.7 ± 0.0100.0 ± 0.00.49 ± 0.000.67 ± 0.010.80 ± 0.011.4
2.0 ± 0.0100.0 ± 0.00.50 ± 0.000.69 ± 0.010.84 ± 0.021.5
2.8 ± 0.0100.0 ± 0.00.52 ± 0.000.73 ± 0.010.90 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.56 ± 0.000.81 ± 0.011.00 ± 0.011.9
8.2 ± 0.099.4 ± 0.10.62 ± 0.001.10 ± 0.011.41 ± 0.022.9
14.3 ± 0.187.1 ± 0.20.80 ± 0.001.47 ± 0.001.71 ± 0.014.4
18.5 ± 0.045.1 ± 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.60 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.44 ± 0.010.57 ± 0.010.64 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.000.61 ± 0.000.69 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.48 ± 0.000.65 ± 0.000.74 ± 0.011.3
2.0 ± 0.0100.0 ± 0.00.50 ± 0.000.67 ± 0.010.78 ± 0.021.4
2.8 ± 0.0100.0 ± 0.00.52 ± 0.000.70 ± 0.000.83 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.55 ± 0.000.76 ± 0.000.92 ± 0.021.9
8.1 ± 0.099.5 ± 0.00.61 ± 0.001.02 ± 0.011.29 ± 0.012.8
14.3 ± 0.087.4 ± 0.10.74 ± 0.001.34 ± 0.001.52 ± 0.014.2
18.6 ± 0.045.4 ± 0.10.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