liveBook · Manning

Dynamic analysis

As explained in Event Processing in Action

Analysis of a program or system based on its execution and observed behavior.

Dynamic analysis examines an event processing network (EPN) during runtime, rather than analyzing only its static model. Simulation runs the application with simulated events and scenarios; tracing records and analyzes runtime executions. These methods can reveal behavior that static analysis cannot. section 10.5.2

Runtime observations can expose whether potential design issues actually occur:

  • Detect a termination problem when a loop is realized in simulation or observed in a trace. section 10.5.2
  • Find an EPA that appears reachable in the network but is never activated during simulation or tracing. section 10.5.2
  • Identify producer or EPA outputs that no EPA or consumer uses; this may indicate that the producer can be eliminated. section 10.5.2
  • Trace the provenance of an event or network node backward or forward, and observe raw and derived event quantities for optimization. section 10.5.2
Figure 10.11. An example of provenance—finding the path in the EPN that contains all the antecedents of the derived event "Shipment Delay 7 to 10 Days"

The figure traces the EPN path containing the antecedents of the derived event “Shipment Delay 7 to 10 Days.” section 10.5.2

How Event Processing in Action covers it

How deep it goes
Distinguishes simulation from tracing and lists runtime observations, without detailing their implementation procedures.
Examples
Uses realized loops, inactive but reachable EPAs, unused outputs, and the provenance of a shipment-delay event.
What it assumes
Uses an event processing network model as the object of analysis; does not establish other prerequisites.
What you can do after
Diagnose runtime termination, activation, and output-use problems, and trace event provenance.
How it connects
Connects dynamic analysis with static analysis, event processing networks, simulation, tracing, and provenance.

Also explained in

Compare how 2 books explain dynamic analysis →

Related concepts

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.