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.18 ± 0.304.04 ± 0.611.1
0.4 ± 0.0100.0 ± 0.00.48 ± 0.003.10 ± 0.5812.70 ± 2.441.2
0.8 ± 0.0100.0 ± 0.00.49 ± 0.005.24 ± 0.8923.10 ± 1.501.3
1.6 ± 0.0100.0 ± 0.00.51 ± 0.019.85 ± 2.7442.00 ± 5.251.7
2.0 ± 0.099.6 ± 0.10.56 ± 0.0111.75 ± 1.4354.53 ± 4.382.0
2.7 ± 0.097.6 ± 0.50.72 ± 0.0113.36 ± 0.9368.68 ± 5.802.6
3.5 ± 0.086.0 ± 0.40.97 ± 0.017.38 ± 0.8263.56 ± 7.873.6
4.5 ± 0.054.7 ± 0.21.30 ± 0.012.82 ± 0.0127.62 ± 4.444.6
5.1 ± 0.031.1 ± 0.11.48 ± 0.022.77 ± 0.012.96 ± 0.025.1
5.6 ± 0.013.6 ± 0.01.54 ± 0.022.76 ± 0.002.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.48 ± 0.000.86 ± 0.092.81 ± 0.721.0
0.4 ± 0.0100.0 ± 0.00.48 ± 0.001.57 ± 0.405.21 ± 0.961.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.002.61 ± 0.3511.22 ± 0.951.3
1.7 ± 0.0100.0 ± 0.00.51 ± 0.005.70 ± 0.5224.30 ± 3.111.6
2.1 ± 0.0100.0 ± 0.00.53 ± 0.005.84 ± 0.4926.18 ± 1.481.7
2.7 ± 0.099.9 ± 0.00.57 ± 0.007.88 ± 0.7436.71 ± 1.892.1
4.0 ± 0.098.5 ± 0.10.74 ± 0.0110.37 ± 1.2451.55 ± 4.602.9
6.1 ± 0.074.1 ± 0.21.23 ± 0.013.46 ± 0.9845.86 ± 4.325.0
6.8 ± 0.041.4 ± 0.11.45 ± 0.012.59 ± 0.0118.02 ± 2.115.7
7.2 ± 0.017.6 ± 0.11.49 ± 0.012.58 ± 0.012.94 ± 0.075.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.000.75 ± 0.071.28 ± 0.171.0
0.4 ± 0.0100.0 ± 0.00.48 ± 0.000.92 ± 0.072.59 ± 0.601.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.001.49 ± 0.244.90 ± 0.431.2
1.6 ± 0.0100.0 ± 0.00.51 ± 0.002.42 ± 0.159.19 ± 0.211.5
2.1 ± 0.0100.0 ± 0.00.52 ± 0.002.94 ± 0.2311.98 ± 0.881.6
2.7 ± 0.0100.0 ± 0.00.55 ± 0.003.57 ± 0.4614.62 ± 1.421.8
4.1 ± 0.0100.0 ± 0.00.59 ± 0.005.23 ± 0.3422.05 ± 1.202.2
8.0 ± 0.097.3 ± 0.10.82 ± 0.009.21 ± 0.5443.34 ± 2.303.7
12.3 ± 0.175.0 ± 0.31.19 ± 0.007.84 ± 0.2052.81 ± 3.335.3
15.1 ± 0.036.8 ± 0.01.50 ± 0.002.48 ± 0.0128.54 ± 2.336.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.46 ± 0.000.60 ± 0.030.88 ± 0.221.0
0.4 ± 0.0100.0 ± 0.00.47 ± 0.000.73 ± 0.021.50 ± 0.201.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.98 ± 0.072.71 ± 0.341.2
1.7 ± 0.0100.0 ± 0.00.50 ± 0.001.50 ± 0.124.79 ± 0.181.4
2.1 ± 0.0100.0 ± 0.00.52 ± 0.001.67 ± 0.165.66 ± 0.451.5
2.7 ± 0.0100.0 ± 0.00.54 ± 0.002.07 ± 0.068.15 ± 0.411.7
4.1 ± 0.0100.0 ± 0.00.57 ± 0.003.16 ± 0.1611.74 ± 0.932.1
8.2 ± 0.099.2 ± 0.00.68 ± 0.015.37 ± 0.2522.00 ± 0.463.2
14.0 ± 0.085.3 ± 0.10.95 ± 0.007.71 ± 0.2236.01 ± 1.324.7
18.0 ± 0.043.9 ± 0.21.18 ± 0.007.26 ± 0.2640.11 ± 1.075.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.44 ± 0.010.58 ± 0.010.77 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.46 ± 0.000.65 ± 0.010.99 ± 0.051.1
0.8 ± 0.0100.0 ± 0.00.48 ± 0.000.75 ± 0.021.62 ± 0.141.2
1.6 ± 0.0100.0 ± 0.00.50 ± 0.000.99 ± 0.082.78 ± 0.311.4
2.1 ± 0.0100.0 ± 0.00.52 ± 0.001.11 ± 0.053.38 ± 0.201.5
2.7 ± 0.0100.0 ± 0.00.54 ± 0.001.37 ± 0.074.24 ± 0.421.7
4.1 ± 0.0100.0 ± 0.00.57 ± 0.001.69 ± 0.116.13 ± 0.382.0
8.2 ± 0.099.5 ± 0.10.64 ± 0.003.06 ± 0.0811.59 ± 0.402.9
14.3 ± 0.087.1 ± 0.20.84 ± 0.004.45 ± 0.2119.12 ± 1.214.5
18.4 ± 0.045.0 ± 0.11.06 ± 0.005.09 ± 0.1322.79 ± 0.625.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.36 ± 0.010.54 ± 0.010.62 ± 0.011.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.000.62 ± 0.010.80 ± 0.041.1
0.8 ± 0.0100.0 ± 0.00.47 ± 0.000.66 ± 0.010.94 ± 0.051.2
1.6 ± 0.0100.0 ± 0.00.49 ± 0.000.76 ± 0.011.45 ± 0.041.4
2.0 ± 0.0100.0 ± 0.00.51 ± 0.000.83 ± 0.021.74 ± 0.121.5
2.7 ± 0.0100.0 ± 0.00.53 ± 0.000.91 ± 0.042.11 ± 0.121.6
4.1 ± 0.0100.0 ± 0.00.56 ± 0.001.05 ± 0.042.71 ± 0.191.9
8.2 ± 0.099.4 ± 0.10.63 ± 0.001.58 ± 0.055.04 ± 0.352.8
14.3 ± 0.087.5 ± 0.20.78 ± 0.002.36 ± 0.098.33 ± 0.334.3
18.6 ± 0.145.3 ± 0.11.02 ± 0.002.80 ± 0.0710.40 ± 0.225.9

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