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.45 ± 0.001.50 ± 0.784.07 ± 1.411.1
0.4 ± 0.0100.0 ± 0.00.45 ± 0.002.82 ± 0.8810.43 ± 1.171.2
0.8 ± 0.0100.0 ± 0.00.47 ± 0.005.05 ± 0.9421.66 ± 1.621.3
1.6 ± 0.0100.0 ± 0.00.52 ± 0.019.46 ± 1.7647.83 ± 4.291.8
2.1 ± 0.099.8 ± 0.10.60 ± 0.0112.47 ± 1.2358.51 ± 5.612.1
2.7 ± 0.098.4 ± 0.10.70 ± 0.0115.03 ± 0.4774.32 ± 5.092.7
3.6 ± 0.087.7 ± 0.41.01 ± 0.0215.28 ± 2.3188.98 ± 4.903.9
4.3 ± 0.053.0 ± 0.31.32 ± 0.026.01 ± 1.8272.12 ± 10.654.9
4.8 ± 0.029.4 ± 0.11.41 ± 0.022.73 ± 0.0145.89 ± 4.605.2
5.3 ± 0.013.0 ± 0.11.44 ± 0.022.64 ± 0.0122.38 ± 4.515.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.45 ± 0.010.91 ± 0.222.53 ± 1.031.1
0.4 ± 0.0100.0 ± 0.00.45 ± 0.011.58 ± 0.266.79 ± 1.551.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.012.71 ± 0.5111.82 ± 0.891.3
1.6 ± 0.0100.0 ± 0.00.48 ± 0.005.10 ± 0.6321.18 ± 2.121.6
2.1 ± 0.0100.0 ± 0.00.49 ± 0.006.69 ± 0.9528.94 ± 1.831.7
2.7 ± 0.0100.0 ± 0.00.53 ± 0.008.16 ± 0.6237.81 ± 2.062.1
4.1 ± 0.099.4 ± 0.10.67 ± 0.0011.04 ± 1.2754.79 ± 2.462.8
6.7 ± 0.081.5 ± 0.41.13 ± 0.0113.20 ± 0.8876.58 ± 7.385.1
7.6 ± 0.046.5 ± 0.21.34 ± 0.016.60 ± 0.4165.56 ± 3.365.9
8.3 ± 0.020.3 ± 0.11.37 ± 0.012.63 ± 0.0455.81 ± 4.756.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.44 ± 0.000.65 ± 0.041.30 ± 0.181.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.000.81 ± 0.082.44 ± 0.371.1
0.8 ± 0.0100.0 ± 0.00.46 ± 0.001.24 ± 0.114.48 ± 0.481.2
1.7 ± 0.0100.0 ± 0.00.47 ± 0.002.36 ± 0.279.42 ± 0.541.5
2.1 ± 0.0100.0 ± 0.00.48 ± 0.002.75 ± 0.2811.74 ± 1.161.6
2.7 ± 0.0100.0 ± 0.00.49 ± 0.003.43 ± 0.1315.06 ± 0.911.8
4.1 ± 0.0100.0 ± 0.00.52 ± 0.005.45 ± 0.2923.86 ± 2.462.1
8.1 ± 0.099.2 ± 0.10.66 ± 0.009.31 ± 0.5843.04 ± 2.123.3
13.9 ± 0.085.3 ± 0.11.00 ± 0.0112.10 ± 0.5665.07 ± 1.315.1
17.8 ± 0.043.4 ± 0.11.32 ± 0.016.56 ± 0.4464.90 ± 1.306.3

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.43 ± 0.010.63 ± 0.031.01 ± 0.081.0
0.4 ± 0.0100.0 ± 0.00.45 ± 0.000.72 ± 0.051.55 ± 0.231.1
0.8 ± 0.0100.0 ± 0.00.45 ± 0.000.90 ± 0.082.79 ± 0.141.2
1.6 ± 0.0100.0 ± 0.00.47 ± 0.001.34 ± 0.094.96 ± 0.431.4
2.1 ± 0.0100.0 ± 0.00.47 ± 0.001.62 ± 0.126.11 ± 0.571.5
2.7 ± 0.0100.0 ± 0.00.48 ± 0.002.03 ± 0.187.76 ± 0.341.7
4.1 ± 0.0100.0 ± 0.00.50 ± 0.003.02 ± 0.1612.03 ± 0.862.0
8.2 ± 0.099.9 ± 0.00.55 ± 0.005.24 ± 0.1923.25 ± 0.852.8
15.7 ± 0.095.5 ± 0.20.72 ± 0.008.89 ± 0.3142.38 ± 1.914.2
24.9 ± 0.160.9 ± 0.10.98 ± 0.009.59 ± 0.2757.17 ± 1.485.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.41 ± 0.000.56 ± 0.030.68 ± 0.051.0
0.4 ± 0.0100.0 ± 0.00.43 ± 0.000.60 ± 0.010.98 ± 0.091.1
0.8 ± 0.0100.0 ± 0.00.45 ± 0.000.71 ± 0.021.62 ± 0.111.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.000.93 ± 0.072.65 ± 0.101.4
2.1 ± 0.0100.0 ± 0.00.47 ± 0.001.06 ± 0.053.25 ± 0.281.5
2.7 ± 0.0100.0 ± 0.00.48 ± 0.001.23 ± 0.154.11 ± 0.421.6
4.1 ± 0.0100.0 ± 0.00.49 ± 0.001.55 ± 0.065.85 ± 0.571.9
8.2 ± 0.0100.0 ± 0.00.53 ± 0.002.81 ± 0.1911.47 ± 0.372.6
16.0 ± 0.097.3 ± 0.10.61 ± 0.004.92 ± 0.1321.52 ± 0.743.8
26.9 ± 0.065.7 ± 0.10.78 ± 0.006.81 ± 0.3534.00 ± 1.735.4

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.33 ± 0.010.54 ± 0.010.63 ± 0.021.0
0.4 ± 0.0100.0 ± 0.00.41 ± 0.000.57 ± 0.020.67 ± 0.031.1
0.8 ± 0.0100.0 ± 0.00.43 ± 0.000.61 ± 0.010.92 ± 0.051.2
1.6 ± 0.0100.0 ± 0.00.46 ± 0.000.68 ± 0.011.28 ± 0.081.4
2.1 ± 0.0100.0 ± 0.00.46 ± 0.000.74 ± 0.021.59 ± 0.121.5
2.8 ± 0.0100.0 ± 0.00.47 ± 0.000.81 ± 0.031.98 ± 0.131.6
4.1 ± 0.0100.0 ± 0.00.49 ± 0.000.94 ± 0.022.81 ± 0.131.8
8.2 ± 0.0100.0 ± 0.00.52 ± 0.001.43 ± 0.044.97 ± 0.262.4
16.0 ± 0.097.9 ± 0.10.58 ± 0.002.22 ± 0.099.03 ± 0.213.6
27.6 ± 0.167.3 ± 0.10.70 ± 0.003.45 ± 0.0714.84 ± 0.285.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