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.4 ± 0.01.8 ± 0.33.1 ± 0.52.1
0.5 ± 0.0100.0 ± 0.00.8 ± 0.04.2 ± 0.68.4 ± 0.92.4
1.0 ± 0.0100.0 ± 0.01.4 ± 0.09.0 ± 0.616.3 ± 1.52.8
2.0 ± 0.0100.0 ± 0.02.6 ± 0.117.3 ± 0.933.2 ± 1.83.3
4.9 ± 0.099.8 ± 0.06.6 ± 0.143.1 ± 1.382.2 ± 2.74.6
8.7 ± 0.189.1 ± 0.512.1 ± 0.077.3 ± 1.5149.7 ± 1.86.7
10.5 ± 0.053.3 ± 0.314.2 ± 0.089.5 ± 1.3174.0 ± 3.17.4
11.7 ± 0.023.2 ± 0.115.9 ± 0.199.6 ± 1.8192.4 ± 4.47.5
12.5 ± 0.012.1 ± 0.017.3 ± 0.1105.8 ± 1.7201.7 ± 2.17.9

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.4 ± 0.01.6 ± 0.23.2 ± 0.61.8
0.5 ± 0.0100.0 ± 0.00.7 ± 0.04.4 ± 0.27.7 ± 0.72.1
1.0 ± 0.0100.0 ± 0.01.3 ± 0.08.9 ± 0.717.2 ± 1.12.3
2.0 ± 0.0100.0 ± 0.02.6 ± 0.117.1 ± 0.433.1 ± 2.32.7
4.9 ± 0.0100.0 ± 0.06.5 ± 0.144.3 ± 1.283.6 ± 1.93.5
9.9 ± 0.1100.0 ± 0.014.0 ± 0.393.0 ± 2.3175.3 ± 7.74.6
19.5 ± 0.198.9 ± 0.131.8 ± 0.3200.7 ± 1.2365.1 ± 5.77.0
28.6 ± 0.057.4 ± 0.240.9 ± 0.1149.1 ± 1.7257.2 ± 3.09.2
30.6 ± 0.030.2 ± 0.139.2 ± 0.0107.8 ± 0.3162.4 ± 1.29.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.3 ± 0.01.6 ± 0.22.8 ± 0.21.7
0.5 ± 0.0100.0 ± 0.00.5 ± 0.04.2 ± 0.37.9 ± 0.61.7
1.0 ± 0.0100.0 ± 0.01.3 ± 0.18.5 ± 0.616.6 ± 1.11.9
2.0 ± 0.0100.0 ± 0.02.5 ± 0.116.9 ± 0.533.7 ± 2.32.3
4.9 ± 0.0100.0 ± 0.06.4 ± 0.042.8 ± 1.084.0 ± 3.02.9
9.9 ± 0.1100.0 ± 0.013.8 ± 0.293.8 ± 2.6175.5 ± 4.13.8
19.8 ± 0.1100.0 ± 0.032.5 ± 0.2208.4 ± 2.5377.8 ± 3.75.5
35.2 ± 0.071.7 ± 0.160.5 ± 0.2200.2 ± 1.1328.9 ± 2.98.9
38.5 ± 0.038.4 ± 0.155.7 ± 0.1125.3 ± 0.3178.3 ± 1.19.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.3 ± 0.01.5 ± 0.33.1 ± 0.31.7
0.5 ± 0.0100.0 ± 0.00.5 ± 0.04.2 ± 0.67.7 ± 0.91.7
1.0 ± 0.0100.0 ± 0.00.9 ± 0.08.5 ± 0.315.8 ± 1.51.7
2.0 ± 0.1100.0 ± 0.02.2 ± 0.116.6 ± 1.133.2 ± 0.91.9
4.9 ± 0.1100.0 ± 0.06.2 ± 0.243.8 ± 1.183.2 ± 3.12.5
9.8 ± 0.1100.0 ± 0.013.4 ± 0.191.9 ± 1.8175.3 ± 4.43.3
19.7 ± 0.2100.0 ± 0.031.7 ± 0.3206.0 ± 3.4374.7 ± 7.34.7
38.5 ± 0.178.9 ± 0.376.0 ± 0.2259.9 ± 1.4417.5 ± 4.98.6
42.8 ± 0.043.1 ± 0.170.7 ± 0.1155.8 ± 0.6219.5 ± 1.39.4

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