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.001.38 ± 0.564.45 ± 1.371.1
0.4 ± 0.0100.0 ± 0.00.33 ± 0.002.44 ± 0.759.72 ± 0.541.1
0.8 ± 0.0100.0 ± 0.00.34 ± 0.004.64 ± 1.0422.64 ± 3.201.2
1.6 ± 0.0100.0 ± 0.00.35 ± 0.009.89 ± 0.8945.58 ± 2.491.5
2.1 ± 0.0100.0 ± 0.00.36 ± 0.0010.95 ± 1.0053.33 ± 3.031.7
2.8 ± 0.099.7 ± 0.10.40 ± 0.0015.00 ± 1.6271.11 ± 2.252.0
4.0 ± 0.097.4 ± 0.20.49 ± 0.0015.61 ± 1.6094.81 ± 3.612.7
5.9 ± 0.072.4 ± 0.60.77 ± 0.011.78 ± 0.0034.74 ± 2.824.4
6.8 ± 0.041.7 ± 0.20.90 ± 0.001.75 ± 0.011.94 ± 0.015.0
7.7 ± 0.018.7 ± 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.32 ± 0.001.15 ± 0.394.50 ± 1.941.0
0.4 ± 0.0100.0 ± 0.00.33 ± 0.003.12 ± 0.7611.42 ± 2.091.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.004.47 ± 0.5422.40 ± 1.631.2
1.6 ± 0.0100.0 ± 0.00.34 ± 0.008.80 ± 0.9146.12 ± 6.261.4
2.0 ± 0.0100.0 ± 0.00.34 ± 0.0011.75 ± 0.6756.07 ± 5.791.5
2.7 ± 0.0100.0 ± 0.00.34 ± 0.0014.59 ± 0.8472.78 ± 5.311.7
4.1 ± 0.099.9 ± 0.00.36 ± 0.0022.54 ± 0.79111.44 ± 5.542.1
7.8 ± 0.095.3 ± 0.10.48 ± 0.0014.54 ± 1.00146.34 ± 4.233.3
11.6 ± 0.071.2 ± 0.30.72 ± 0.001.59 ± 0.011.79 ± 0.014.8
13.8 ± 0.034.0 ± 0.10.86 ± 0.011.62 ± 0.001.77 ± 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.86 ± 0.213.82 ± 1.451.0
0.4 ± 0.0100.0 ± 0.00.33 ± 0.002.53 ± 0.669.13 ± 2.321.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.004.95 ± 1.2921.63 ± 3.801.2
1.7 ± 0.0100.0 ± 0.00.33 ± 0.009.71 ± 2.2644.98 ± 7.321.4
2.1 ± 0.0100.0 ± 0.00.33 ± 0.0011.82 ± 1.5756.01 ± 2.501.5
2.8 ± 0.0100.0 ± 0.00.33 ± 0.0015.83 ± 1.5878.58 ± 7.631.6
4.1 ± 0.0100.0 ± 0.00.34 ± 0.0024.87 ± 1.85109.62 ± 8.141.8
8.1 ± 0.099.8 ± 0.00.35 ± 0.0048.60 ± 3.00238.45 ± 13.762.5
15.1 ± 0.092.6 ± 0.10.40 ± 0.001.05 ± 0.0151.67 ± 3.792.9
28.8 ± 0.173.7 ± 0.20.71 ± 0.001.55 ± 0.001.72 ± 0.005.0

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.001.14 ± 0.334.64 ± 0.751.1
0.4 ± 0.0100.0 ± 0.00.32 ± 0.002.90 ± 0.9312.00 ± 3.071.1
0.8 ± 0.0100.0 ± 0.00.33 ± 0.004.86 ± 0.8721.28 ± 2.501.2
1.6 ± 0.0100.0 ± 0.00.33 ± 0.009.25 ± 1.6544.68 ± 1.951.4
2.1 ± 0.0100.0 ± 0.00.33 ± 0.0011.22 ± 1.1453.49 ± 7.411.4
2.7 ± 0.0100.0 ± 0.00.33 ± 0.0015.38 ± 2.2171.99 ± 8.481.6
4.1 ± 0.0100.0 ± 0.00.33 ± 0.0024.66 ± 1.30114.59 ± 7.411.8
8.2 ± 0.1100.0 ± 0.00.34 ± 0.0048.00 ± 3.30231.87 ± 7.582.2
15.5 ± 0.095.2 ± 0.00.34 ± 0.000.96 ± 0.02142.38 ± 3.312.6
36.5 ± 0.097.4 ± 0.10.45 ± 0.001.12 ± 0.011.52 ± 0.013.3

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.85 ± 0.464.35 ± 1.131.0
0.4 ± 0.0100.0 ± 0.00.31 ± 0.002.50 ± 0.6010.25 ± 3.301.1
0.8 ± 0.0100.0 ± 0.00.32 ± 0.004.91 ± 1.1024.62 ± 5.161.2
1.6 ± 0.0100.0 ± 0.00.33 ± 0.008.46 ± 1.0642.37 ± 3.051.3
2.1 ± 0.0100.0 ± 0.00.33 ± 0.0011.57 ± 1.1054.17 ± 6.001.4
2.7 ± 0.0100.0 ± 0.00.33 ± 0.0015.73 ± 0.8681.85 ± 3.031.5
4.1 ± 0.0100.0 ± 0.00.33 ± 0.0022.59 ± 1.22108.15 ± 6.041.7
8.2 ± 0.0100.0 ± 0.00.33 ± 0.0054.14 ± 4.55252.54 ± 11.432.1
15.8 ± 0.197.1 ± 0.10.33 ± 0.0037.69 ± 1.47239.20 ± 11.532.5
37.0 ± 0.198.6 ± 0.10.35 ± 0.000.68 ± 0.000.94 ± 0.012.5

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.24 ± 0.010.66 ± 0.473.54 ± 1.051.0
0.4 ± 0.0100.0 ± 0.00.29 ± 0.002.30 ± 0.9610.82 ± 2.631.1
0.8 ± 0.0100.0 ± 0.00.31 ± 0.004.33 ± 0.7419.39 ± 2.441.2
1.6 ± 0.0100.0 ± 0.00.32 ± 0.009.02 ± 0.3542.52 ± 3.531.3
2.1 ± 0.0100.0 ± 0.00.32 ± 0.0011.85 ± 1.4357.42 ± 1.331.4
2.7 ± 0.0100.0 ± 0.00.32 ± 0.0014.45 ± 1.6675.20 ± 4.071.5
4.1 ± 0.0100.0 ± 0.00.33 ± 0.0022.54 ± 0.39115.93 ± 2.581.6
8.2 ± 0.0100.0 ± 0.00.33 ± 0.0052.94 ± 2.83250.78 ± 11.042.0
16.0 ± 0.198.9 ± 0.00.3385.53 ± 3.12403.19 ± 10.182.4
36.9 ± 0.198.6 ± 0.10.33 ± 0.000.52 ± 0.000.66 ± 0.002.2

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