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.33 ± 0.011.19 ± 0.384.51 ± 2.011.1
0.4 ± 0.0100.0 ± 0.00.33 ± 0.002.35 ± 0.7511.02 ± 2.451.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.004.31 ± 0.4724.55 ± 4.551.3
1.6 ± 0.0100.0 ± 0.00.35 ± 0.0010.14 ± 1.3047.13 ± 7.841.5
2.0 ± 0.0100.0 ± 0.00.36 ± 0.0011.04 ± 1.0452.62 ± 5.801.7
2.7 ± 0.099.7 ± 0.10.40 ± 0.0014.70 ± 1.9070.33 ± 6.572.0
4.0 ± 0.097.6 ± 0.10.49 ± 0.0016.34 ± 0.9494.83 ± 4.012.7
5.9 ± 0.072.4 ± 0.30.78 ± 0.001.78 ± 0.0134.55 ± 6.604.4
6.8 ± 0.041.6 ± 0.30.90 ± 0.001.75 ± 0.001.93 ± 0.015.0
7.7 ± 0.018.8 ± 0.10.96 ± 0.011.75 ± 0.001.89 ± 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.33 ± 0.000.77 ± 0.102.20 ± 0.511.0
0.4 ± 0.0100.0 ± 0.00.33 ± 0.001.32 ± 0.315.26 ± 0.791.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.002.87 ± 0.4412.67 ± 1.351.2
1.6 ± 0.0100.0 ± 0.00.34 ± 0.004.28 ± 0.0921.70 ± 1.961.4
2.1 ± 0.0100.0 ± 0.00.346.06 ± 0.7628.11 ± 3.401.5
2.7 ± 0.0100.0 ± 0.00.34 ± 0.008.19 ± 0.8637.66 ± 1.741.7
4.1 ± 0.0100.0 ± 0.00.36 ± 0.0011.95 ± 0.9356.77 ± 5.132.0
7.9 ± 0.196.9 ± 0.10.49 ± 0.0015.51 ± 2.0392.81 ± 5.633.3
11.7 ± 0.071.4 ± 0.20.75 ± 0.001.66 ± 0.0131.95 ± 3.585.0
13.8 ± 0.133.8 ± 0.10.87 ± 0.001.63 ± 0.001.80 ± 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.32 ± 0.000.51 ± 0.061.17 ± 0.151.0
0.4 ± 0.0100.0 ± 0.00.33 ± 0.000.81 ± 0.142.34 ± 0.341.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.001.23 ± 0.155.02 ± 1.151.2
1.7 ± 0.0100.0 ± 0.00.33 ± 0.002.14 ± 0.278.52 ± 0.931.3
2.1 ± 0.0100.0 ± 0.00.33 ± 0.002.61 ± 0.3311.27 ± 1.501.4
2.8 ± 0.0100.0 ± 0.00.33 ± 0.003.24 ± 0.2214.57 ± 1.241.5
4.1 ± 0.0100.0 ± 0.00.34 ± 0.005.00 ± 0.3122.25 ± 0.661.7
8.2 ± 0.0100.0 ± 0.00.35 ± 0.009.56 ± 0.5044.63 ± 2.072.2
16.2 ± 0.198.9 ± 0.10.44 ± 0.0016.45 ± 1.2284.70 ± 3.053.2
29.1 ± 0.071.0 ± 0.10.74 ± 0.011.62 ± 0.0130.89 ± 3.035.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.31 ± 0.010.45 ± 0.010.75 ± 0.141.0
0.4 ± 0.0100.0 ± 0.00.32 ± 0.000.55 ± 0.071.54 ± 0.251.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.000.75 ± 0.072.53 ± 0.301.2
1.6 ± 0.0100.0 ± 0.00.33 ± 0.001.18 ± 0.234.33 ± 0.551.3
2.1 ± 0.0100.0 ± 0.00.33 ± 0.001.50 ± 0.256.02 ± 0.951.4
2.7 ± 0.0100.0 ± 0.00.33 ± 0.001.82 ± 0.157.38 ± 0.721.5
4.1 ± 0.0100.0 ± 0.00.33 ± 0.002.49 ± 0.1711.19 ± 0.331.6
8.2 ± 0.0100.0 ± 0.00.34 ± 0.004.60 ± 0.4521.64 ± 0.752.0
16.4 ± 0.0100.0 ± 0.00.35 ± 0.009.42 ± 0.3945.69 ± 2.352.5
39.6 ± 0.196.6 ± 0.10.50 ± 0.0015.16 ± 0.1493.83 ± 2.333.7

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.44 ± 0.020.58 ± 0.101.0
0.4 ± 0.0100.0 ± 0.00.31 ± 0.000.47 ± 0.010.89 ± 0.131.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.000.56 ± 0.051.25 ± 0.181.1
1.6 ± 0.0100.0 ± 0.00.33 ± 0.000.79 ± 0.112.57 ± 0.201.3
2.0 ± 0.0100.0 ± 0.00.33 ± 0.000.88 ± 0.063.01 ± 0.291.3
2.7 ± 0.0100.0 ± 0.00.33 ± 0.001.05 ± 0.074.03 ± 0.261.4
4.1 ± 0.0100.0 ± 0.00.33 ± 0.001.38 ± 0.095.72 ± 0.271.6
8.2 ± 0.0100.0 ± 0.00.33 ± 0.002.62 ± 0.1311.51 ± 0.401.9
16.4 ± 0.0100.0 ± 0.00.34 ± 0.004.80 ± 0.1621.84 ± 1.052.2
41.0 ± 0.199.9 ± 0.00.37 ± 0.0011.97 ± 0.1256.58 ± 0.502.7

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.23 ± 0.010.39 ± 0.010.45 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.29 ± 0.000.43 ± 0.010.56 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.31 ± 0.000.46 ± 0.020.78 ± 0.071.1
1.6 ± 0.0100.0 ± 0.00.32 ± 0.000.51 ± 0.011.16 ± 0.081.2
2.1 ± 0.0100.0 ± 0.00.32 ± 0.000.55 ± 0.021.48 ± 0.161.3
2.7 ± 0.0100.0 ± 0.00.32 ± 0.000.63 ± 0.021.75 ± 0.091.4
4.1 ± 0.0100.0 ± 0.00.33 ± 0.000.78 ± 0.052.54 ± 0.071.5
8.2 ± 0.1100.0 ± 0.00.33 ± 0.001.21 ± 0.074.84 ± 0.181.8
16.4 ± 0.1100.0 ± 0.00.33 ± 0.002.16 ± 0.039.27 ± 0.222.1
41.0 ± 0.1100.0 ± 0.00.34 ± 0.004.85 ± 0.1122.15 ± 0.192.3

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