A performance objective translates a non-functional requirement into a measurable target that can guide optimization. Objectives address scaling, but rely on different assumptions and may call for different optimizations. section 10.3
An objective can apply to a whole system or one of its parts. A system may use one objective throughout or assign different metrics to different events. It may also combine metrics: maximum input throughput measures how many events the system can accept in a given time while functioning correctly, but says nothing about processing latency. section 10.3 section 10.3
Table 10.1. Performance objectives and their associated metrics
| Number |
Objective name |
Objective metrics |
|---|---|---|
| 1 | Max input throughput | Maximize the quantity of input events processed by a certain system or subsystem within a given time period |
| 2 | Max output throughput | Maximize the quantity of derived events produced by a certain system or subsystem within a given time period |
| 3 | Min average latency | Minimize the average time it takes to process an event and all its consequences in a certain system or subsystem |
| 4 | Min maximal latency | Minimize the maximal time it takes to process an event and all its consequences in a certain system or subsystem |
| 5 | Latency leveling | Minimize the variance of processing times for a single event or a collection of events in a certain system or subsystem |
| 6 | Real-time constraints | Minimize the deviation in latency, from a given value, for the processing of an event and all its consequences in a certain system or subsystem. |
Compare six objectives and their associated metrics, from throughput and latency targets to real-time constraints. section 10.3
Throughput with a latency requirement
A target for the number of input events accepted per second does not set a processing-time limit. Pairing it with a latency-oriented objective expresses both requirements. section 10.3
