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.47 ± 0.001.53 ± 0.435.92 ± 1.731.1
0.4 ± 0.0100.0 ± 0.00.48 ± 0.002.62 ± 0.5912.61 ± 2.411.2
0.8 ± 0.0100.0 ± 0.00.49 ± 0.005.46 ± 0.6722.45 ± 4.541.3
1.6 ± 0.099.9 ± 0.00.52 ± 0.0010.25 ± 0.3744.05 ± 3.151.7
2.0 ± 0.099.6 ± 0.10.56 ± 0.0111.43 ± 1.6155.64 ± 6.382.0
2.7 ± 0.097.7 ± 0.10.72 ± 0.0113.16 ± 1.4569.59 ± 7.182.6
3.6 ± 0.086.6 ± 0.40.96 ± 0.017.20 ± 0.9468.20 ± 4.533.6
4.5 ± 0.054.7 ± 0.41.29 ± 0.012.82 ± 0.0128.46 ± 4.794.6
5.1 ± 0.031.0 ± 0.11.48 ± 0.012.78 ± 0.012.96 ± 0.015.2
5.6 ± 0.013.6 ± 0.11.53 ± 0.012.76 ± 0.012.92 ± 0.015.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.47 ± 0.001.22 ± 0.274.55 ± 1.691.0
0.4 ± 0.0100.0 ± 0.00.48 ± 0.002.77 ± 0.7610.73 ± 2.641.2
0.8 ± 0.0100.0 ± 0.00.49 ± 0.005.37 ± 0.3622.30 ± 2.351.3
1.6 ± 0.0100.0 ± 0.00.51 ± 0.009.38 ± 1.0243.18 ± 3.361.6
2.1 ± 0.0100.0 ± 0.00.53 ± 0.0012.35 ± 0.8554.16 ± 7.231.8
2.7 ± 0.099.9 ± 0.10.57 ± 0.0016.47 ± 1.3777.38 ± 10.372.1
4.0 ± 0.098.0 ± 0.20.73 ± 0.0120.76 ± 2.4596.45 ± 1.963.0
6.1 ± 0.073.8 ± 0.31.18 ± 0.012.47 ± 0.0242.70 ± 4.214.9
6.8 ± 0.041.4 ± 0.01.42 ± 0.002.51 ± 0.012.80 ± 0.015.6
7.2 ± 0.017.7 ± 0.01.49 ± 0.022.56 ± 0.002.76 ± 0.015.8

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.47 ± 0.001.63 ± 0.284.81 ± 1.141.1
0.4 ± 0.0100.0 ± 0.00.48 ± 0.002.52 ± 0.6510.17 ± 1.371.2
0.8 ± 0.0100.0 ± 0.00.49 ± 0.005.19 ± 1.3221.72 ± 3.491.3
1.7 ± 0.0100.0 ± 0.00.51 ± 0.009.70 ± 0.6543.36 ± 5.981.5
2.1 ± 0.0100.0 ± 0.00.52 ± 0.0012.34 ± 1.5458.21 ± 1.951.7
2.7 ± 0.0100.0 ± 0.00.54 ± 0.0016.28 ± 1.2574.41 ± 7.471.9
4.1 ± 0.199.9 ± 0.00.59 ± 0.0025.25 ± 1.59117.80 ± 5.562.4
7.9 ± 0.096.0 ± 0.20.81 ± 0.0128.31 ± 2.21187.80 ± 11.253.7
12.0 ± 0.073.3 ± 0.11.11 ± 0.012.09 ± 0.0122.24 ± 1.245.1
15.0 ± 0.036.8 ± 0.11.47 ± 0.002.32 ± 0.012.56 ± 0.016.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.45 ± 0.001.30 ± 0.834.72 ± 0.971.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.002.54 ± 0.6011.61 ± 1.161.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.004.79 ± 1.0421.70 ± 2.381.3
1.6 ± 0.0100.0 ± 0.00.51 ± 0.008.70 ± 1.2143.57 ± 4.261.5
2.0 ± 0.0100.0 ± 0.00.52 ± 0.0011.43 ± 1.3554.34 ± 4.141.6
2.7 ± 0.0100.0 ± 0.00.54 ± 0.0016.30 ± 1.7975.32 ± 3.481.8
4.1 ± 0.0100.0 ± 0.00.57 ± 0.0023.79 ± 1.31111.21 ± 2.892.2
8.1 ± 0.098.7 ± 0.10.67 ± 0.0045.21 ± 1.26230.58 ± 6.723.4
13.6 ± 0.082.9 ± 0.10.89 ± 0.001.85 ± 0.00106.09 ± 7.654.6
17.8 ± 0.044.0 ± 0.11.12 ± 0.001.83 ± 0.002.05 ± 0.005.8

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.44 ± 0.010.93 ± 0.324.83 ± 1.171.0
0.4 ± 0.0100.0 ± 0.00.46 ± 0.002.55 ± 0.5011.22 ± 2.781.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.004.85 ± 0.8323.87 ± 4.801.2
1.6 ± 0.0100.0 ± 0.00.50 ± 0.008.66 ± 1.3542.95 ± 2.461.5
2.1 ± 0.0100.0 ± 0.00.52 ± 0.0011.39 ± 1.2755.10 ± 7.151.6
2.7 ± 0.0100.0 ± 0.00.54 ± 0.0015.55 ± 2.6877.79 ± 6.711.8
4.1 ± 0.0100.0 ± 0.00.57 ± 0.0025.76 ± 1.52121.12 ± 4.992.1
8.1 ± 0.099.2 ± 0.10.64 ± 0.0046.06 ± 2.35233.22 ± 15.463.1
13.9 ± 0.085.5 ± 0.10.81 ± 0.0026.68 ± 0.65210.16 ± 10.794.5
18.3 ± 0.145.2 ± 0.11.01 ± 0.001.60 ± 0.011.86 ± 0.015.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.37 ± 0.020.64 ± 0.153.73 ± 1.251.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.002.18 ± 0.9911.36 ± 2.631.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.004.90 ± 0.5620.06 ± 3.201.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.009.55 ± 0.7745.95 ± 3.821.4
2.0 ± 0.0100.0 ± 0.00.51 ± 0.0011.69 ± 1.1855.72 ± 4.821.5
2.7 ± 0.0100.0 ± 0.00.53 ± 0.0014.54 ± 1.6476.20 ± 7.341.7
4.1 ± 0.0100.0 ± 0.00.56 ± 0.0023.09 ± 1.60113.34 ± 5.612.0
8.1 ± 0.099.4 ± 0.00.63 ± 0.0049.75 ± 4.44236.72 ± 14.743.0
14.1 ± 0.086.5 ± 0.30.76 ± 0.0044.13 ± 2.93316.54 ± 9.224.4
18.5 ± 0.145.7 ± 0.20.97 ± 0.001.50 ± 0.0072.69 ± 5.705.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