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.020.51 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.020.58 ± 0.031.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.65 ± 0.010.89 ± 0.031.4
2.0 ± 0.0100.0 ± 0.00.35 ± 0.000.70 ± 0.010.96 ± 0.041.5
2.7 ± 0.099.9 ± 0.00.37 ± 0.000.85 ± 0.011.24 ± 0.031.8
4.0 ± 0.098.6 ± 0.20.47 ± 0.001.27 ± 0.031.70 ± 0.022.5
6.1 ± 0.073.7 ± 0.30.79 ± 0.001.71 ± 0.001.89 ± 0.014.5
6.9 ± 0.042.2 ± 0.30.91 ± 0.011.74 ± 0.001.89 ± 0.015.0
7.8 ± 0.018.9 ± 0.00.96 ± 0.001.74 ± 0.001.88 ± 0.015.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.41 ± 0.010.48 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.44 ± 0.010.52 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.010.57 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.33 ± 0.000.52 ± 0.010.67 ± 0.011.3
2.1 ± 0.0100.0 ± 0.00.33 ± 0.000.55 ± 0.010.71 ± 0.021.4
2.7 ± 0.0100.0 ± 0.00.34 ± 0.000.60 ± 0.010.80 ± 0.011.5
4.1 ± 0.0100.0 ± 0.00.35 ± 0.000.72 ± 0.011.01 ± 0.021.8
8.1 ± 0.098.4 ± 0.20.47 ± 0.001.24 ± 0.021.64 ± 0.013.1
11.9 ± 0.072.8 ± 0.30.75 ± 0.001.59 ± 0.011.77 ± 0.005.0
14.0 ± 0.034.2 ± 0.10.86 ± 0.001.62 ± 0.001.77 ± 0.015.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.40 ± 0.010.46 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.010.49 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.52 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.32 ± 0.000.45 ± 0.010.56 ± 0.011.3
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.000.58 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.49 ± 0.010.61 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.33 ± 0.000.52 ± 0.010.66 ± 0.011.6
8.2 ± 0.0100.0 ± 0.00.34 ± 0.000.65 ± 0.000.87 ± 0.012.1
16.4 ± 0.199.5 ± 0.00.42 ± 0.001.01 ± 0.011.43 ± 0.013.0
29.7 ± 0.072.6 ± 0.10.74 ± 0.001.57 ± 0.001.73 ± 0.005.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.30 ± 0.000.40 ± 0.020.47 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.31 ± 0.000.41 ± 0.000.46 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.010.49 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.51 ± 0.011.2
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.43 ± 0.000.52 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.45 ± 0.000.54 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.32 ± 0.000.47 ± 0.000.57 ± 0.011.5
8.2 ± 0.0100.0 ± 0.00.33 ± 0.000.53 ± 0.000.67 ± 0.011.9
16.4 ± 0.1100.0 ± 0.00.34 ± 0.000.65 ± 0.000.88 ± 0.012.3
40.2 ± 0.198.0 ± 0.10.48 ± 0.001.22 ± 0.011.58 ± 0.013.5

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.000.39 ± 0.010.44 ± 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.41 ± 0.000.48 ± 0.011.1
1.7 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.49 ± 0.011.2
2.0 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.50 ± 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.011.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.330.53 ± 0.000.67 ± 0.002.1
41.1 ± 0.1100.0 ± 0.00.35 ± 0.000.72 ± 0.001.01 ± 0.012.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.38 ± 0.010.44 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.29 ± 0.000.39 ± 0.010.44 ± 0.011.0
0.8 ± 0.0100.0 ± 0.00.30 ± 0.000.40 ± 0.000.45 ± 0.001.1
1.6 ± 0.0100.0 ± 0.00.31 ± 0.000.41 ± 0.000.48 ± 0.011.2
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.41 ± 0.000.48 ± 0.011.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.011.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.32 ± 0.000.46 ± 0.000.56 ± 0.002.0
41.0 ± 0.0100.0 ± 0.00.33 ± 0.000.53 ± 0.000.67 ± 0.012.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