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.3 ± 0.01.9 ± 0.23.1 ± 0.62.1
0.5 ± 0.0100.0 ± 0.00.7 ± 0.04.4 ± 0.28.7 ± 0.92.4
1.0 ± 0.0100.0 ± 0.01.3 ± 0.08.3 ± 0.515.6 ± 1.42.8
1.9 ± 0.0100.0 ± 0.02.5 ± 0.116.9 ± 0.533.2 ± 2.93.2
4.9 ± 0.0100.0 ± 0.06.5 ± 0.144.4 ± 1.384.1 ± 1.34.3
9.8 ± 0.198.9 ± 0.013.6 ± 0.291.2 ± 2.1174.3 ± 3.46.0
15.1 ± 0.076.3 ± 0.521.5 ± 0.2130.8 ± 1.4251.3 ± 4.87.9
17.5 ± 0.035.1 ± 0.124.3 ± 0.2143.0 ± 2.7273.1 ± 5.78.5
18.6 ± 0.018.1 ± 0.125.9 ± 0.1144.9 ± 1.2274.3 ± 3.18.7

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.3 ± 0.01.8 ± 0.13.4 ± 0.52.0
0.5 ± 0.0100.0 ± 0.00.7 ± 0.04.3 ± 0.48.4 ± 1.32.2
1.0 ± 0.0100.0 ± 0.01.3 ± 0.08.5 ± 0.416.1 ± 1.42.5
2.0 ± 0.0100.0 ± 0.02.5 ± 0.017.1 ± 0.832.5 ± 1.33.0
4.9 ± 0.0100.0 ± 0.06.4 ± 0.143.6 ± 0.885.0 ± 1.23.9
9.9 ± 0.1100.0 ± 0.013.9 ± 0.192.5 ± 1.1173.7 ± 2.75.2
18.9 ± 0.095.3 ± 0.129.7 ± 0.1183.9 ± 2.1338.4 ± 5.07.6
26.1 ± 0.052.3 ± 0.336.0 ± 0.1145.7 ± 1.1235.9 ± 2.49.2
28.3 ± 0.027.8 ± 0.136.4 ± 0.1105.1 ± 0.5141.3 ± 1.39.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.3 ± 0.01.7 ± 0.23.7 ± 0.81.8
0.5 ± 0.0100.0 ± 0.00.7 ± 0.04.6 ± 0.18.5 ± 0.92.1
1.0 ± 0.0100.0 ± 0.01.3 ± 0.08.2 ± 0.817.0 ± 2.12.3
2.0 ± 0.0100.0 ± 0.02.5 ± 0.116.8 ± 0.932.0 ± 3.42.7
5.0 ± 0.1100.0 ± 0.06.4 ± 0.143.9 ± 0.982.5 ± 2.23.5
9.8 ± 0.1100.0 ± 0.013.6 ± 0.291.3 ± 1.1172.0 ± 4.14.5
19.7 ± 0.199.8 ± 0.032.1 ± 0.4204.6 ± 2.1375.5 ± 4.26.7
30.9 ± 0.162.4 ± 0.145.1 ± 0.1144.7 ± 0.7236.4 ± 2.59.3
33.3 ± 0.032.9 ± 0.141.3 ± 0.195.2 ± 0.4136.4 ± 0.59.7

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.2 ± 0.01.7 ± 0.23.1 ± 0.61.7
0.5 ± 0.0100.0 ± 0.00.6 ± 0.04.4 ± 0.28.4 ± 0.61.9
1.0 ± 0.0100.0 ± 0.01.3 ± 0.08.2 ± 0.416.2 ± 0.32.1
2.0 ± 0.0100.0 ± 0.02.5 ± 0.116.7 ± 0.633.0 ± 2.72.5
4.9 ± 0.1100.0 ± 0.06.4 ± 0.144.3 ± 1.183.0 ± 4.53.2
9.9 ± 0.1100.0 ± 0.013.7 ± 0.292.8 ± 2.4175.0 ± 4.14.1
19.7 ± 0.1100.0 ± 0.032.1 ± 0.2206.7 ± 2.4372.8 ± 4.46.0
33.4 ± 0.067.9 ± 0.153.0 ± 0.1168.9 ± 0.7274.1 ± 1.89.1
36.4 ± 0.036.0 ± 0.148.6 ± 0.1107.7 ± 0.3153.0 ± 1.09.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.2 ± 0.01.8 ± 0.43.6 ± 0.41.7
0.5 ± 0.0100.0 ± 0.00.5 ± 0.04.1 ± 0.38.2 ± 0.41.7
1.0 ± 0.0100.0 ± 0.01.2 ± 0.18.4 ± 0.315.7 ± 1.11.9
2.0 ± 0.0100.0 ± 0.02.4 ± 0.116.9 ± 0.933.9 ± 2.52.3
4.9 ± 0.0100.0 ± 0.06.3 ± 0.142.3 ± 0.682.1 ± 2.02.9
9.9 ± 0.1100.0 ± 0.013.8 ± 0.293.2 ± 1.4176.5 ± 4.13.8
19.7 ± 0.1100.0 ± 0.032.0 ± 0.2206.6 ± 0.6372.5 ± 6.75.4
35.8 ± 0.073.0 ± 0.262.2 ± 0.2201.4 ± 1.8324.3 ± 3.68.9
39.3 ± 0.039.2 ± 0.157.1 ± 0.1125.1 ± 0.6176.6 ± 2.09.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.2 ± 0.01.5 ± 0.23.4 ± 0.71.7
0.5 ± 0.0100.0 ± 0.00.4 ± 0.04.1 ± 0.47.7 ± 1.21.7
1.0 ± 0.0100.0 ± 0.00.8 ± 0.08.3 ± 0.116.3 ± 0.41.7
2.0 ± 0.0100.0 ± 0.02.2 ± 0.116.7 ± 0.432.7 ± 1.41.9
4.9 ± 0.0100.0 ± 0.06.2 ± 0.143.2 ± 0.783.4 ± 2.92.5
9.9 ± 0.1100.0 ± 0.013.6 ± 0.293.3 ± 2.6176.2 ± 3.83.3
19.8 ± 0.1100.0 ± 0.031.7 ± 0.2206.8 ± 3.3375.8 ± 2.84.7
38.9 ± 0.179.4 ± 0.376.9 ± 0.1262.1 ± 2.7418.3 ± 3.68.5
43.2 ± 0.043.6 ± 0.171.4 ± 0.1154.8 ± 0.6216.6 ± 1.69.3

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