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.01.1 ± 0.02.7 ± 0.24.2 ± 0.42.2
0.5 ± 0.0100.0 ± 0.01.8 ± 0.05.5 ± 0.39.3 ± 0.92.7
1.0 ± 0.099.4 ± 0.23.0 ± 0.110.5 ± 0.517.9 ± 1.93.7
1.6 ± 0.083.5 ± 0.74.9 ± 0.116.6 ± 0.429.3 ± 1.45.4
2.0 ± 0.041.4 ± 0.36.0 ± 0.020.8 ± 0.637.2 ± 1.46.2
2.2 ± 0.022.3 ± 0.26.3 ± 0.121.8 ± 0.639.5 ± 2.46.7
2.3 ± 0.011.6 ± 0.06.6 ± 0.023.5 ± 0.942.9 ± 3.06.8
2.4 ± 0.04.8 ± 0.06.6 ± 0.023.5 ± 0.742.2 ± 2.36.9
2.5 ± 0.02.4 ± 0.06.7 ± 0.024.1 ± 0.943.0 ± 1.86.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.01.0 ± 0.02.5 ± 0.24.1 ± 0.61.8
0.5 ± 0.0100.0 ± 0.01.4 ± 0.05.2 ± 0.48.7 ± 1.22.1
1.0 ± 0.0100.0 ± 0.02.2 ± 0.09.2 ± 0.216.7 ± 0.82.4
2.0 ± 0.0100.0 ± 0.03.7 ± 0.018.4 ± 0.333.5 ± 2.32.9
4.9 ± 0.099.3 ± 0.18.5 ± 0.045.0 ± 0.486.1 ± 1.34.5
7.8 ± 0.078.1 ± 0.413.5 ± 0.170.4 ± 1.5134.5 ± 3.46.5
8.8 ± 0.044.3 ± 0.215.3 ± 0.179.8 ± 2.4153.2 ± 3.66.9
9.9 ± 0.019.6 ± 0.116.9 ± 0.187.4 ± 0.8163.4 ± 5.17.6
10.2 ± 0.09.9 ± 0.017.4 ± 0.189.8 ± 2.3166.9 ± 8.07.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.9 ± 0.02.6 ± 0.24.1 ± 0.31.7
0.5 ± 0.0100.0 ± 0.01.2 ± 0.05.2 ± 0.39.1 ± 0.71.7
1.0 ± 0.0100.0 ± 0.02.0 ± 0.09.5 ± 0.617.0 ± 1.01.9
2.0 ± 0.0100.0 ± 0.03.3 ± 0.118.8 ± 0.635.2 ± 1.12.3
4.9 ± 0.0100.0 ± 0.07.6 ± 0.145.2 ± 1.487.3 ± 4.03.1
9.9 ± 0.1100.0 ± 0.015.7 ± 0.194.1 ± 1.3174.9 ± 3.14.2
18.6 ± 0.094.7 ± 0.132.8 ± 0.2187.1 ± 2.4343.2 ± 6.66.7
24.1 ± 0.048.3 ± 0.141.4 ± 0.1202.4 ± 1.4377.8 ± 2.48.4
25.7 ± 0.125.1 ± 0.144.1 ± 0.2200.6 ± 3.0368.4 ± 7.18.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.9 ± 0.02.1 ± 0.23.7 ± 0.51.8
0.5 ± 0.0100.0 ± 0.01.1 ± 0.05.0 ± 0.38.6 ± 1.01.7
1.0 ± 0.0100.0 ± 0.01.5 ± 0.19.0 ± 0.616.3 ± 1.41.7
2.0 ± 0.0100.0 ± 0.02.9 ± 0.117.7 ± 1.033.8 ± 0.61.9
4.9 ± 0.0100.0 ± 0.07.2 ± 0.145.7 ± 1.286.4 ± 1.12.6
9.9 ± 0.1100.0 ± 0.015.0 ± 0.194.3 ± 1.1176.8 ± 2.33.4
19.7 ± 0.299.9 ± 0.034.5 ± 0.5209.3 ± 2.5381.5 ± 5.45.2
33.8 ± 0.168.5 ± 0.263.8 ± 0.2242.0 ± 1.3420.3 ± 2.78.7
36.5 ± 0.036.2 ± 0.162.1 ± 0.1171.8 ± 0.6267.7 ± 1.89.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