A pipeline that is refused before it runs
A pipeline authored in a running app – by a person, or by a model – is data, so a renderer can look at its size before it evaluates anything. Fuaran UI does, with a budget.
The limits
| Quantity | Limit |
|---|---|
| Rows admitted into the pipeline | 50,000 |
| Steps in the pipeline | 64 |
| Rows times steps | 500,000 |
The third limit is the one that bounds the work: the first two alone would admit 50,000 rows through 64 steps. The product refuses that while still admitting both a wide-and-shallow and a narrow-and-deep pipeline.
Counts, not seconds
The budget is made of counts on purpose. A wall-clock limit would refuse different trees on a phone and on a workstation, and no author could predict which. Rows and steps are the same numbers everywhere, so a refusal is reproducible and the author can act on it.
What a refusal says
A refusal happens before evaluation, and it names the quantity that overran and the limit it overran: for example, steps over the limit of 64. Every refusal begins with the same marker text, so a host can recognise one without parsing prose. The limits and the marker are defined in the renderer's source.
See it
The gallery's Pivot Sandbox shows the three meters as you add steps. Add enough and the grid shows the refusal in place of a result. The tables there are small on purpose, so the step limit is the one you reach. The page's source reads the limits from the budget rather than restating them.
Back to Data in the interface.