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.57 ± 0.011.25 ± 0.223.89 ± 1.521.1
0.4 ± 0.0100.0 ± 0.00.58 ± 0.002.53 ± 0.4611.89 ± 1.791.2
0.8 ± 0.0100.0 ± 0.00.59 ± 0.006.14 ± 1.2523.93 ± 2.111.4
1.6 ± 0.099.7 ± 0.10.75 ± 0.039.11 ± 0.9241.96 ± 5.002.1
2.0 ± 0.098.6 ± 0.20.86 ± 0.0111.26 ± 1.6753.85 ± 4.632.5
2.5 ± 0.093.6 ± 0.41.12 ± 0.0113.75 ± 0.9466.93 ± 6.963.3
3.1 ± 0.075.2 ± 0.41.47 ± 0.0111.46 ± 1.7471.98 ± 9.184.2
3.7 ± 0.044.8 ± 0.11.78 ± 0.023.73 ± 0.1056.98 ± 5.774.9
4.1 ± 0.024.8 ± 0.11.87 ± 0.023.53 ± 0.0134.79 ± 3.965.3
4.4 ± 0.010.7 ± 0.01.92 ± 0.023.47 ± 0.0116.79 ± 3.995.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.57 ± 0.011.03 ± 0.112.68 ± 0.441.1
0.4 ± 0.0100.0 ± 0.00.58 ± 0.001.70 ± 0.426.31 ± 1.171.2
0.8 ± 0.0100.0 ± 0.00.59 ± 0.002.49 ± 0.5811.38 ± 2.031.3
1.6 ± 0.0100.0 ± 0.00.65 ± 0.005.22 ± 0.3421.59 ± 1.571.7
2.0 ± 0.0100.0 ± 0.00.69 ± 0.016.99 ± 0.8126.82 ± 2.492.0
2.7 ± 0.099.4 ± 0.10.81 ± 0.018.23 ± 0.6536.08 ± 3.052.6
3.9 ± 0.093.8 ± 0.21.13 ± 0.0210.86 ± 0.7151.03 ± 2.753.8
5.0 ± 0.060.8 ± 0.21.71 ± 0.019.43 ± 0.7553.57 ± 3.205.5
5.4 ± 0.032.9 ± 0.11.91 ± 0.027.87 ± 0.7453.21 ± 2.965.9
5.7 ± 0.013.9 ± 0.01.92 ± 0.016.35 ± 0.3853.78 ± 3.445.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.56 ± 0.000.81 ± 0.041.33 ± 0.181.0
0.4 ± 0.0100.0 ± 0.00.57 ± 0.010.98 ± 0.052.48 ± 0.291.1
0.8 ± 0.0100.0 ± 0.00.59 ± 0.001.52 ± 0.254.78 ± 0.631.3
1.7 ± 0.0100.0 ± 0.00.63 ± 0.012.34 ± 0.359.04 ± 0.471.6
2.1 ± 0.0100.0 ± 0.00.66 ± 0.003.08 ± 0.1612.47 ± 0.721.8
2.7 ± 0.0100.0 ± 0.00.70 ± 0.003.80 ± 0.3715.40 ± 1.282.1
4.1 ± 0.099.6 ± 0.10.79 ± 0.015.20 ± 0.3722.70 ± 1.362.8
7.3 ± 0.088.8 ± 0.11.20 ± 0.028.29 ± 0.8137.74 ± 2.024.5
9.8 ± 0.059.5 ± 0.21.58 ± 0.018.61 ± 0.3445.60 ± 3.295.7
11.5 ± 0.028.0 ± 0.11.86 ± 0.017.92 ± 0.1448.87 ± 1.086.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.55 ± 0.000.75 ± 0.020.98 ± 0.081.0
0.4 ± 0.0100.0 ± 0.00.57 ± 0.010.85 ± 0.021.60 ± 0.111.1
0.8 ± 0.0100.0 ± 0.00.59 ± 0.001.13 ± 0.132.96 ± 0.341.3
1.6 ± 0.0100.0 ± 0.00.63 ± 0.001.68 ± 0.185.28 ± 0.571.6
2.1 ± 0.0100.0 ± 0.00.65 ± 0.001.79 ± 0.046.09 ± 0.441.7
2.7 ± 0.0100.0 ± 0.00.69 ± 0.002.38 ± 0.158.34 ± 0.422.0
4.1 ± 0.099.9 ± 0.00.75 ± 0.003.22 ± 0.2311.81 ± 0.432.5
7.7 ± 0.093.4 ± 0.21.02 ± 0.015.09 ± 0.1621.45 ± 0.864.1
10.9 ± 0.066.7 ± 0.21.30 ± 0.006.27 ± 0.2428.41 ± 1.005.3
13.1 ± 0.032.0 ± 0.11.46 ± 0.006.39 ± 0.2231.06 ± 0.905.9

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.53 ± 0.010.71 ± 0.030.85 ± 0.081.0
0.4 ± 0.0100.0 ± 0.00.56 ± 0.000.78 ± 0.011.13 ± 0.131.1
0.8 ± 0.0100.0 ± 0.00.58 ± 0.000.91 ± 0.031.60 ± 0.161.2
1.7 ± 0.0100.0 ± 0.00.62 ± 0.001.13 ± 0.023.03 ± 0.241.5
2.0 ± 0.0100.0 ± 0.00.65 ± 0.001.26 ± 0.033.36 ± 0.191.7
2.7 ± 0.0100.0 ± 0.00.68 ± 0.001.55 ± 0.094.55 ± 0.251.9
4.1 ± 0.099.9 ± 0.00.73 ± 0.002.01 ± 0.076.44 ± 0.442.4
7.8 ± 0.094.4 ± 0.20.94 ± 0.003.11 ± 0.1211.23 ± 0.383.9
11.3 ± 0.069.1 ± 0.21.19 ± 0.003.93 ± 0.1115.32 ± 0.795.2
13.5 ± 0.032.9 ± 0.11.33 ± 0.004.37 ± 0.1417.91 ± 0.785.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.45 ± 0.010.67 ± 0.010.76 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.53 ± 0.000.74 ± 0.010.88 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.56 ± 0.000.80 ± 0.001.03 ± 0.041.2
1.6 ± 0.0100.0 ± 0.00.60 ± 0.000.93 ± 0.021.53 ± 0.171.5
2.0 ± 0.0100.0 ± 0.00.63 ± 0.001.03 ± 0.021.86 ± 0.151.6
2.8 ± 0.0100.0 ± 0.00.67 ± 0.001.13 ± 0.022.15 ± 0.061.8
4.1 ± 0.099.9 ± 0.00.72 ± 0.001.41 ± 0.022.99 ± 0.132.3
7.8 ± 0.095.0 ± 0.20.89 ± 0.001.98 ± 0.025.20 ± 0.133.8
11.5 ± 0.070.0 ± 0.11.12 ± 0.012.39 ± 0.037.10 ± 0.165.1
13.7 ± 0.033.3 ± 0.11.25 ± 0.002.54 ± 0.038.11 ± 0.175.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