Protecting a Public Operation with Resource Budgets
A public operation can define limits for input size, concurrent work, or execution time to preserve a predictable service.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a catalogue query
A query can cap results per page and restrict how much work a single request retains. The rule should keep ordinary navigation useful. Resource limits in an interface name the units.
Check accepted and rejected cases
Verify the normal maximum and the outcome immediately beyond it. Boundary testing can exercise this safely with a synthetic bounded fixture.[1]