liveBook · Manning

Performance objective

As explained in Event Processing in Action

A specified target for a system’s performance, expressed through one or more metrics.

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

How Event Processing in Action covers it

How deep it goes
Defines six objectives and their metrics, then briefly discusses each and introduces metric composition.
Examples
Uses event throughput, processing latency, and event-specific real-time constraints to illustrate measurable targets.
What you can do after
Evaluate performance targets by distinguishing throughput from latency and combining metrics when both matter.
How it connects
Connects non-functional requirements and scalability with optimization, throughput, latency, and real-time constraints.

This explainer was generated by Manning's knowledge graph from the text of Event Processing in Action. The section links point to the parts of the book it draws on.