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.42 ± 0.011.11 ± 0.393.39 ± 0.581.1
0.4 ± 0.0100.0 ± 0.00.43 ± 0.002.76 ± 0.4711.85 ± 2.191.2
0.8 ± 0.0100.0 ± 0.00.44 ± 0.005.34 ± 0.7219.69 ± 3.841.3
1.6 ± 0.0100.0 ± 0.00.49 ± 0.009.51 ± 1.1746.52 ± 4.231.8
2.0 ± 0.099.9 ± 0.00.54 ± 0.0111.76 ± 1.2960.74 ± 4.032.0
2.7 ± 0.099.0 ± 0.10.64 ± 0.0015.38 ± 0.8574.04 ± 5.052.6
3.7 ± 0.090.8 ± 0.20.91 ± 0.0117.50 ± 2.0291.96 ± 4.293.8
4.6 ± 0.056.2 ± 0.21.22 ± 0.017.37 ± 0.2777.14 ± 8.104.9
5.1 ± 0.031.1 ± 0.11.31 ± 0.012.54 ± 0.0250.94 ± 2.955.2
5.6 ± 0.013.7 ± 0.11.33 ± 0.012.46 ± 0.0124.28 ± 5.045.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.42 ± 0.010.81 ± 0.262.11 ± 0.961.0
0.4 ± 0.0100.0 ± 0.00.42 ± 0.001.41 ± 0.165.84 ± 1.481.1
0.8 ± 0.0100.0 ± 0.00.43 ± 0.002.45 ± 0.1911.30 ± 1.681.3
1.6 ± 0.0100.0 ± 0.00.45 ± 0.004.71 ± 0.5821.84 ± 2.551.5
2.0 ± 0.0100.0 ± 0.00.46 ± 0.005.77 ± 0.5326.59 ± 2.511.7
2.7 ± 0.0100.0 ± 0.00.48 ± 0.008.23 ± 0.7338.63 ± 2.942.0
4.1 ± 0.099.7 ± 0.10.58 ± 0.0012.65 ± 0.7458.34 ± 2.352.6
7.1 ± 0.086.4 ± 0.40.97 ± 0.0114.44 ± 0.7783.00 ± 4.564.8
8.4 ± 0.051.3 ± 0.31.20 ± 0.016.73 ± 0.1969.63 ± 3.015.8
9.3 ± 0.022.7 ± 0.11.24 ± 0.012.38 ± 0.0254.15 ± 3.736.0

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.41 ± 0.010.64 ± 0.101.06 ± 0.221.0
0.4 ± 0.0100.0 ± 0.00.42 ± 0.000.90 ± 0.072.57 ± 0.381.1
0.8 ± 0.0100.0 ± 0.00.43 ± 0.001.23 ± 0.174.74 ± 0.891.2
1.6 ± 0.0100.0 ± 0.00.44 ± 0.002.29 ± 0.318.96 ± 0.721.4
2.1 ± 0.0100.0 ± 0.00.44 ± 0.002.74 ± 0.3711.44 ± 0.531.5
2.7 ± 0.0100.0 ± 0.00.45 ± 0.003.40 ± 0.2015.97 ± 0.871.7
4.1 ± 0.0100.0 ± 0.00.47 ± 0.005.15 ± 0.5122.74 ± 1.332.0
8.2 ± 0.199.8 ± 0.10.56 ± 0.009.52 ± 0.5044.23 ± 2.563.0
14.9 ± 0.091.1 ± 0.20.86 ± 0.0114.57 ± 0.6676.01 ± 1.784.8
20.1 ± 0.148.9 ± 0.11.18 ± 0.006.32 ± 0.1165.66 ± 1.586.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.40 ± 0.010.59 ± 0.040.91 ± 0.201.0
0.4 ± 0.0100.0 ± 0.00.42 ± 0.000.65 ± 0.041.54 ± 0.201.1
0.8 ± 0.0100.0 ± 0.00.42 ± 0.000.88 ± 0.082.38 ± 0.421.2
1.6 ± 0.0100.0 ± 0.00.43 ± 0.001.31 ± 0.115.02 ± 0.331.4
2.1 ± 0.0100.0 ± 0.00.44 ± 0.001.57 ± 0.206.09 ± 0.361.5
2.7 ± 0.0100.0 ± 0.00.44 ± 0.001.99 ± 0.187.96 ± 0.181.6
4.1 ± 0.0100.0 ± 0.00.46 ± 0.002.61 ± 0.2111.96 ± 0.601.9
8.2 ± 0.0100.0 ± 0.00.49 ± 0.004.96 ± 0.2122.34 ± 0.692.5
16.2 ± 0.198.9 ± 0.10.60 ± 0.009.35 ± 0.1543.86 ± 1.733.6
30.6 ± 0.074.7 ± 0.10.90 ± 0.0011.05 ± 0.3568.87 ± 1.135.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.38 ± 0.010.53 ± 0.010.63 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.41 ± 0.000.58 ± 0.020.93 ± 0.121.1
0.8 ± 0.0100.0 ± 0.00.42 ± 0.000.68 ± 0.051.54 ± 0.151.2
1.6 ± 0.0100.0 ± 0.00.43 ± 0.000.89 ± 0.072.57 ± 0.151.4
2.1 ± 0.0100.0 ± 0.00.44 ± 0.000.97 ± 0.073.27 ± 0.261.5
2.7 ± 0.0100.0 ± 0.00.44 ± 0.001.17 ± 0.104.27 ± 0.381.6
4.1 ± 0.0100.0 ± 0.00.45 ± 0.001.55 ± 0.056.08 ± 0.251.8
8.2 ± 0.0100.0 ± 0.00.47 ± 0.002.84 ± 0.1211.61 ± 0.452.3
16.4 ± 0.199.7 ± 0.00.51 ± 0.004.85 ± 0.2022.08 ± 1.113.2
34.5 ± 0.184.1 ± 0.10.67 ± 0.008.79 ± 0.3943.04 ± 1.265.1

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.29 ± 0.010.51 ± 0.010.59 ± 0.041.0
0.4 ± 0.0100.0 ± 0.00.38 ± 0.000.54 ± 0.010.66 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.40 ± 0.000.56 ± 0.010.78 ± 0.041.2
1.6 ± 0.0100.0 ± 0.00.42 ± 0.000.64 ± 0.011.27 ± 0.121.3
2.1 ± 0.0100.0 ± 0.00.43 ± 0.000.69 ± 0.031.53 ± 0.131.4
2.7 ± 0.0100.0 ± 0.00.43 ± 0.000.74 ± 0.011.92 ± 0.101.5
4.1 ± 0.0100.0 ± 0.00.44 ± 0.000.85 ± 0.022.61 ± 0.171.8
8.2 ± 0.0100.0 ± 0.00.47 ± 0.001.35 ± 0.024.92 ± 0.182.2
16.4 ± 0.099.8 ± 0.00.49 ± 0.002.31 ± 0.069.28 ± 0.333.0
35.6 ± 0.086.8 ± 0.10.57 ± 0.004.19 ± 0.1518.75 ± 0.494.7

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