Table of Contents

Performance: tree size

This page is part of the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at performance-tree-size.md, and llms.txt lists every page.

How point-read latency changes as one tree grows, and the size at which P95 read latency degrades against the same cluster's small-tree baseline. Measured on the Layer 3 multi-silo rig (Azure Container Apps) by a separate Orleans-client producer, so every latency is what a client sees.

How these numbers are produced: tree-size methodology. See also Performance: single silo and Performance: multi-silo scaling.

The short answer

On four silos (4 vCPU / 8 GiB each) at 2,500 uniform point reads/s:

Question Answer
Baseline (1 M keys) p50 2.90 ms, p95 8.19 ms
First degraded size (p95 at least 1.5x baseline) 3 M keys (p95 40.7 ms)
p95 at 10 M keys 211 ms, about 26x baseline
Largest size measured 10 M keys
Wrong or missing reads None at any size

Read latency by tree size

Tree size Seed segment Seed time Seed rate (keys/s) Read p50 Read p95 Read p99 Read p99.9 Reads measured Peak silo CPU Peak silo memory
1 M 1 M 11 min 23 s 1,464 2.90 ms 8.19 ms 17.9 ms 40.7 ms 112,480 2.28 cores (57%) 2.25 GiB (28%)
3 M 2 M 29 min 58 s 1,113 3.60 ms 40.7 ms 194 ms 4,194 ms 126,391 2.53 cores (63%) 5.30 GiB (66%)
6 M 3 M 35 min 47 s 1,397 5.31 ms 131 ms 299 ms 4,016 ms 125,147 2.88 cores (72%) 5.71 GiB (71%)
10 M 4 M 51 min 07 s 1,304 13.2 ms 211 ms 809 ms 4,380 ms 135,420 3.10 cores (77%) 5.89 GiB (74%)

4 silos' read P95 stayed within 1.5x of its 1 M-key baseline (8.19 ms) up to 1 M keys and degraded at 3 M.

Measured 2026-12-02 on Azure Container Apps (Consumption) in westus3 (.NET 10.0) at git sha 3568ace3e, n=4 rungs of one ladder cohort. Each rung offers 2,500 point reads/s for 60 s on the warm silos that seeded it.

GetAsync steady p50, p95 and p99 by tree size, log scale.

Key: each size has three bars, left to right: p50 (blue), p95 (orange) and p99 (green). The y axis is logarithmic.

Bar Percentile 1 M 3 M 6 M 10 M
Left (blue) p50 2.90 ms 3.60 ms 5.31 ms 13.2 ms
Middle (orange) p95 8.19 ms 40.7 ms 131 ms 211 ms
Right (green) p99 17.9 ms 194 ms 299 ms 809 ms

Across the range p50 moves only from 2.90 ms to 13.2 ms, so nearly all of the degradation is in the tail.

Reading it.

  • p95 degrades from 3 M keys and keeps climbing. It rises about fivefold from 1 M to 3 M keys and about 26-fold by 10 M. p50 stays within a few milliseconds until 10 M keys, so most reads stay fast while the tail grows.
  • The tail is seconds long from 3 M keys. p99.9 sits at about 4 s from 3 M keys upwards, consistent with reads that wait for a leaf activation.
  • Silo memory tracks tree size. Peak working set per silo rises from 2.25 GiB at 1 M keys to 5.89 GiB at 10 M; CPU rises from 57% to 77%.
  • Seed rate is flat. Each segment loads at about 1,100-1,500 keys/s, so seed time grows with the segment size, not with the tree size.

What these numbers do not tell you

  • Cold start. Every read runs on the silos that seeded the tree.
  • Mixed read and write load. The ladder only reads.
  • Skewed reads. Every key is read equally often, which is the worst case. A workload with a small hot set reads more like a smaller tree.
  • Organically grown trees. A bulk-loaded tree has full leaves. A tree grown by ordinary writes has about twice as many leaf grains for the same number of keys.
  • Other value sizes, silo counts and storage layouts. Values are 245 bytes, there are four silos, and the WAL uses one storage account.