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.44 ± 0.010.59 ± 0.030.74 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.000.70 ± 0.010.86 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.000.80 ± 0.011.06 ± 0.041.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.011.13 ± 0.061.59 ± 0.081.6
2.1 ± 0.099.8 ± 0.10.54 ± 0.011.38 ± 0.032.05 ± 0.091.9
2.7 ± 0.098.7 ± 0.20.66 ± 0.011.86 ± 0.062.51 ± 0.062.5
3.6 ± 0.088.1 ± 0.40.94 ± 0.012.41 ± 0.022.75 ± 0.013.8
4.4 ± 0.053.3 ± 0.31.25 ± 0.022.57 ± 0.012.79 ± 0.014.8
4.9 ± 0.029.7 ± 0.21.37 ± 0.012.59 ± 0.002.78 ± 0.015.1
5.4 ± 0.013.1 ± 0.11.42 ± 0.012.58 ± 0.002.77 ± 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.44 ± 0.000.56 ± 0.010.69 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.000.63 ± 0.020.78 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.45 ± 0.000.70 ± 0.010.87 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.47 ± 0.000.82 ± 0.011.11 ± 0.041.5
2.1 ± 0.0100.0 ± 0.00.48 ± 0.000.92 ± 0.011.31 ± 0.061.6
2.8 ± 0.0100.0 ± 0.00.50 ± 0.001.06 ± 0.011.54 ± 0.041.9
4.1 ± 0.099.5 ± 0.10.62 ± 0.001.47 ± 0.012.04 ± 0.032.6
6.7 ± 0.081.8 ± 0.21.06 ± 0.012.20 ± 0.012.53 ± 0.015.0
7.7 ± 0.046.6 ± 0.11.28 ± 0.012.33 ± 0.012.58 ± 0.015.8
8.3 ± 0.020.3 ± 0.11.32 ± 0.012.36 ± 0.012.60 ± 0.015.9

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.43 ± 0.000.56 ± 0.020.66 ± 0.061.0
0.4 ± 0.0100.0 ± 0.00.44 ± 0.000.58 ± 0.010.69 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.45 ± 0.000.62 ± 0.010.77 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.000.71 ± 0.010.88 ± 0.021.4
2.0 ± 0.0100.0 ± 0.00.47 ± 0.000.73 ± 0.010.91 ± 0.021.5
2.7 ± 0.0100.0 ± 0.00.48 ± 0.000.79 ± 0.011.02 ± 0.021.7
4.1 ± 0.0100.0 ± 0.00.50 ± 0.000.91 ± 0.011.20 ± 0.032.0
8.2 ± 0.099.3 ± 0.10.61 ± 0.001.35 ± 0.011.81 ± 0.023.1
14.0 ± 0.085.6 ± 0.20.95 ± 0.001.91 ± 0.002.28 ± 0.015.0
17.9 ± 0.043.6 ± 0.21.28 ± 0.002.21 ± 0.002.48 ± 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.43 ± 0.010.56 ± 0.010.63 ± 0.031.0
0.4 ± 0.0100.0 ± 0.00.44 ± 0.000.57 ± 0.000.66 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.45 ± 0.000.59 ± 0.000.70 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.000.64 ± 0.000.78 ± 0.011.4
2.0 ± 0.0100.0 ± 0.00.46 ± 0.000.66 ± 0.010.82 ± 0.021.5
2.8 ± 0.0100.0 ± 0.00.47 ± 0.000.70 ± 0.010.87 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.49 ± 0.000.78 ± 0.010.98 ± 0.021.9
8.2 ± 0.099.9 ± 0.00.53 ± 0.000.98 ± 0.001.30 ± 0.022.7
15.7 ± 0.195.8 ± 0.00.69 ± 0.001.37 ± 0.011.72 ± 0.024.1
25.2 ± 0.161.4 ± 0.20.94 ± 0.001.70 ± 0.002.03 ± 0.015.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.41 ± 0.010.55 ± 0.010.60 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.43 ± 0.000.56 ± 0.000.64 ± 0.021.1
0.8 ± 0.0100.0 ± 0.00.44 ± 0.000.58 ± 0.010.68 ± 0.021.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.000.61 ± 0.010.74 ± 0.011.4
2.1 ± 0.0100.0 ± 0.00.46 ± 0.000.63 ± 0.010.76 ± 0.021.5
2.8 ± 0.0100.0 ± 0.00.47 ± 0.000.66 ± 0.010.81 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.48 ± 0.000.70 ± 0.010.86 ± 0.011.8
8.2 ± 0.0100.0 ± 0.00.52 ± 0.000.83 ± 0.011.06 ± 0.022.5
16.0 ± 0.197.4 ± 0.10.59 ± 0.001.08 ± 0.011.36 ± 0.013.7
27.0 ± 0.065.9 ± 0.10.75 ± 0.001.31 ± 0.001.57 ± 0.015.3

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.32 ± 0.020.53 ± 0.010.59 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.41 ± 0.010.55 ± 0.000.62 ± 0.011.1
0.8 ± 0.0100.0 ± 0.00.43 ± 0.000.57 ± 0.000.65 ± 0.011.2
1.6 ± 0.0100.0 ± 0.00.45 ± 0.000.60 ± 0.000.70 ± 0.021.3
2.1 ± 0.0100.0 ± 0.00.46 ± 0.000.61 ± 0.000.71 ± 0.011.4
2.7 ± 0.0100.0 ± 0.00.47 ± 0.000.62 ± 0.000.74 ± 0.011.6
4.1 ± 0.0100.0 ± 0.00.48 ± 0.000.65 ± 0.000.78 ± 0.011.8
8.2 ± 0.0100.0 ± 0.00.51 ± 0.000.74 ± 0.000.92 ± 0.012.4
16.1 ± 0.197.9 ± 0.10.56 ± 0.000.92 ± 0.001.13 ± 0.013.5
27.7 ± 0.167.5 ± 0.10.67 ± 0.001.08 ± 0.001.28 ± 0.005.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