Latency is the delay or lag time introduced by a system. In measuring the latency of a CEP engine, latency refers to the time from when an incoming event message arrives until the processing of the event is complete and the result is delivered to a client application.