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.35 ± 0.000.47 ± 0.010.57 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.35 ± 0.000.51 ± 0.020.62 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.35 ± 0.000.58 ± 0.020.75 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.37 ± 0.000.73 ± 0.010.99 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.38 ± 0.000.79 ± 0.021.14 ± 0.041.5
2.7 ± 0.099.8 ± 0.00.41 ± 0.011.02 ± 0.031.47 ± 0.041.9
4.0 ± 0.097.5 ± 0.20.54 ± 0.001.51 ± 0.021.92 ± 0.022.8
5.6 ± 0.068.6 ± 0.30.87 ± 0.011.90 ± 0.002.08 ± 0.014.5
6.4 ± 0.039.1 ± 0.21.01 ± 0.011.93 ± 0.002.09 ± 0.005.0
7.2 ± 0.017.6 ± 0.01.07 ± 0.011.93 ± 0.012.07 ± 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.35 ± 0.000.44 ± 0.010.52 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.35 ± 0.000.47 ± 0.010.59 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.35 ± 0.000.51 ± 0.010.63 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.36 ± 0.000.58 ± 0.010.76 ± 0.021.3
2.1 ± 0.0100.0 ± 0.00.36 ± 0.000.61 ± 0.010.81 ± 0.021.4
2.7 ± 0.0100.0 ± 0.00.37 ± 0.000.68 ± 0.010.90 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.39 ± 0.000.84 ± 0.021.18 ± 0.031.9
7.9 ± 0.096.3 ± 0.20.58 ± 0.011.50 ± 0.011.85 ± 0.013.6
10.6 ± 0.064.8 ± 0.30.89 ± 0.011.76 ± 0.001.95 ± 0.015.3
12.0 ± 0.029.1 ± 0.10.98 ± 0.001.79 ± 0.001.94 ± 0.015.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.34 ± 0.000.44 ± 0.010.51 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.35 ± 0.000.44 ± 0.010.51 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.35 ± 0.000.46 ± 0.010.57 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.35 ± 0.000.50 ± 0.010.61 ± 0.031.3
2.1 ± 0.0100.0 ± 0.00.36 ± 0.000.52 ± 0.010.63 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.36 ± 0.000.55 ± 0.000.68 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.37 ± 0.000.59 ± 0.000.77 ± 0.011.7
8.2 ± 0.0100.0 ± 0.00.39 ± 0.000.76 ± 0.011.03 ± 0.032.3
16.2 ± 0.098.6 ± 0.10.53 ± 0.001.25 ± 0.011.65 ± 0.013.5
25.9 ± 0.063.1 ± 0.20.89 ± 0.001.71 ± 0.001.89 ± 0.015.7

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.33 ± 0.000.44 ± 0.010.50 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.34 ± 0.000.44 ± 0.000.50 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.35 ± 0.000.45 ± 0.010.54 ± 0.021.1
1.7 ± 0.0100.0 ± 0.00.35 ± 0.000.46 ± 0.010.57 ± 0.011.3
2.1 ± 0.0100.0 ± 0.00.35 ± 0.000.48 ± 0.010.58 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.36 ± 0.000.50 ± 0.000.61 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.36 ± 0.000.53 ± 0.000.64 ± 0.011.6
8.2 ± 0.0100.0 ± 0.00.37 ± 0.000.60 ± 0.000.78 ± 0.012.0
16.4 ± 0.0100.0 ± 0.00.40 ± 0.000.78 ± 0.001.06 ± 0.022.6
38.3 ± 0.193.4 ± 0.10.61 ± 0.001.41 ± 0.011.73 ± 0.014.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.32 ± 0.010.42 ± 0.000.46 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.34 ± 0.000.43 ± 0.000.49 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.35 ± 0.000.44 ± 0.000.51 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.35 ± 0.000.45 ± 0.000.53 ± 0.011.3
2.0 ± 0.0100.0 ± 0.00.35 ± 0.000.46 ± 0.000.55 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.35 ± 0.000.47 ± 0.000.57 ± 0.001.4
4.1 ± 0.0100.0 ± 0.00.36 ± 0.000.48 ± 0.000.59 ± 0.011.6
8.2 ± 0.1100.0 ± 0.00.37 ± 0.000.54 ± 0.000.65 ± 0.001.9
16.4 ± 0.0100.0 ± 0.00.38 ± 0.000.61 ± 0.000.79 ± 0.012.3
40.7 ± 0.099.1 ± 0.00.43 ± 0.000.89 ± 0.011.19 ± 0.013.4

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.24 ± 0.010.41 ± 0.000.46 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.42 ± 0.000.47 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.000.44 ± 0.000.49 ± 0.011.1
1.6 ± 0.0100.0 ± 0.00.35 ± 0.000.45 ± 0.000.52 ± 0.011.2
2.0 ± 0.0100.0 ± 0.00.35 ± 0.000.45 ± 0.000.51 ± 0.011.3
2.7 ± 0.0100.0 ± 0.00.35 ± 0.000.45 ± 0.000.52 ± 0.011.4
4.1 ± 0.0100.0 ± 0.00.36 ± 0.000.46 ± 0.000.54 ± 0.011.5
8.2 ± 0.0100.0 ± 0.00.36 ± 0.000.48 ± 0.000.59 ± 0.001.9
16.4 ± 0.0100.0 ± 0.00.37 ± 0.000.53 ± 0.000.64 ± 0.002.2
40.8 ± 0.199.4 ± 0.00.39 ± 0.000.64 ± 0.000.81 ± 0.003.0

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