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.32 ± 0.000.43 ± 0.010.52 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.010.58 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.000.52 ± 0.010.67 ± 0.021.1
1.6 ± 0.0100.0 ± 0.00.34 ± 0.000.66 ± 0.010.89 ± 0.031.4
2.1 ± 0.0100.0 ± 0.00.35 ± 0.000.71 ± 0.010.98 ± 0.021.5
2.8 ± 0.099.9 ± 0.00.37 ± 0.000.86 ± 0.021.26 ± 0.051.8
4.0 ± 0.098.5 ± 0.20.47 ± 0.001.26 ± 0.021.71 ± 0.022.6
6.0 ± 0.073.8 ± 0.30.78 ± 0.001.71 ± 0.011.88 ± 0.014.5
6.9 ± 0.042.1 ± 0.30.91 ± 0.011.75 ± 0.001.89 ± 0.005.1
7.8 ± 0.019.0 ± 0.10.97 ± 0.011.75 ± 0.001.89 ± 0.005.3

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.32 ± 0.000.42 ± 0.010.46 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.010.52 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.46 ± 0.020.57 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.33 ± 0.000.52 ± 0.010.66 ± 0.011.3
2.1 ± 0.0100.0 ± 0.00.33 ± 0.000.55 ± 0.000.71 ± 0.011.4
2.7 ± 0.0100.0 ± 0.00.34 ± 0.000.60 ± 0.010.79 ± 0.021.5
4.1 ± 0.0100.0 ± 0.00.35 ± 0.000.71 ± 0.010.99 ± 0.031.8
8.1 ± 0.098.2 ± 0.10.48 ± 0.001.25 ± 0.011.63 ± 0.013.1
11.9 ± 0.072.8 ± 0.30.75 ± 0.001.60 ± 0.001.77 ± 0.005.0
14.0 ± 0.034.1 ± 0.10.87 ± 0.011.62 ± 0.001.77 ± 0.005.6

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.31 ± 0.000.41 ± 0.010.46 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.41 ± 0.010.48 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.010.52 ± 0.011.1
1.7 ± 0.0100.0 ± 0.00.32 ± 0.000.45 ± 0.000.56 ± 0.011.2
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.010.58 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.49 ± 0.000.61 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.33 ± 0.000.53 ± 0.000.68 ± 0.011.6
8.2 ± 0.1100.0 ± 0.00.34 ± 0.000.64 ± 0.000.87 ± 0.012.1
16.3 ± 0.199.6 ± 0.10.42 ± 0.001.00 ± 0.011.42 ± 0.023.0
29.8 ± 0.172.5 ± 0.20.75 ± 0.001.57 ± 0.001.73 ± 0.005.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.31 ± 0.000.40 ± 0.010.45 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.31 ± 0.000.41 ± 0.000.47 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.49 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.52 ± 0.001.2
2.0 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.53 ± 0.001.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.45 ± 0.010.54 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.000.58 ± 0.011.5
8.2 ± 0.0100.0 ± 0.00.33 ± 0.000.53 ± 0.000.67 ± 0.011.9
16.4 ± 0.0100.0 ± 0.00.34 ± 0.000.64 ± 0.010.87 ± 0.012.3
40.2 ± 0.098.0 ± 0.00.48 ± 0.001.22 ± 0.011.59 ± 0.013.6

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.29 ± 0.010.40 ± 0.010.45 ± 0.001.0
0.4 ± 0.0100.0 ± 0.00.31 ± 0.000.41 ± 0.000.45 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.41 ± 0.000.48 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.48 ± 0.011.2
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.51 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.51 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.32 ± 0.000.44 ± 0.000.53 ± 0.001.5
8.2 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.000.58 ± 0.011.8
16.4 ± 0.0100.0 ± 0.00.33 ± 0.000.53 ± 0.000.67 ± 0.002.1
41.0 ± 0.1100.0 ± 0.00.35 ± 0.000.72 ± 0.001.00 ± 0.002.5

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.22 ± 0.020.39 ± 0.010.43 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.29 ± 0.000.40 ± 0.010.45 ± 0.011.0
0.8 ± 0.0100.0 ± 0.00.31 ± 0.000.40 ± 0.010.46 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.31 ± 0.000.41 ± 0.000.47 ± 0.001.2
2.0 ± 0.0100.0 ± 0.00.32 ± 0.000.41 ± 0.000.48 ± 0.001.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.48 ± 0.011.3
4.1 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.49 ± 0.001.5
8.2 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.52 ± 0.001.8
16.4 ± 0.1100.0 ± 0.00.320.46 ± 0.000.56 ± 0.002.0
41.0 ± 0.1100.0 ± 0.00.33 ± 0.000.53 ± 0.000.68 ± 0.002.2

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