liveBook · Manning

Event processing network

As explained in Event Processing in Action

An abstract model describing the functional behavior of an event processing system without necessarily representing its physical realization.

An event processing network (EPN) is a model of the functional behavior of an event processing system. It brings together event producers, event consumers, event processing agents, channels, and global state elements. The model describes how events are processed without necessarily specifying the system’s physical implementation. section 2.2.2 section 6.1

Producers emit events, and consumers receive them. Between them, event processing agents accept events and emit further events. Channels carry those events between components; global state elements represent state accessed by agents. An EPN can describe one application or support multiple related applications. section 2.2.2 section 6.6

Figure 6.1. An example event processing network, showing the graphical notation we are using, and illustrating some of the features of an EPN

The diagram shows the EPN notation and how links connect processing elements. section 6.1.1

An EPN can be drawn as a graph. Nodes represent producers, consumers, agents, and explicitly modeled channels. Triangular terminals show where events enter or leave a node, and solid links show event flow from an output terminal to an input terminal. Terminals can be labeled with event types; agent input terminals can also have filters that restrict which event instances they accept. section 6.1.1 section 2.3.5

Links can express several event-flow patterns:

  • One output can connect to multiple inputs. Each receives a copy of an emitted event, but the notation does not dictate the distribution order. section 6.1.1
  • Multiple outputs can connect to one input. Events from the incoming links are interleaved in an implementation-dependent manner. section 6.1.1
  • An explicit channel can be modeled as a network element; other channels may appear as wiring between elements. section 2.2.2

EPN models can be nested inside one another to simplify complex networks and reuse models. The network describes functional relationships; implementation artifacts need not correspond directly to the diagram. section 6.1

Fast Flower Delivery

The Fast Flower Delivery application can be modeled by identifying its event processing agents, channels, and global state elements, then showing how they connect producers to consumers. section 6.0

How Event Processing in Action covers it

How deep it goes
Defines network components and graphical notation, including fan-out and fan-in, and discusses nesting and implementation relationships.
Examples
Uses network diagrams with split and interleaved event streams and identifies components for Fast Flower Delivery.
What you can do after
Evaluate and understand how an EPN represents event flow and separates functional modeling from implementation.
How it connects
Connects event processing agents, channels, global state, event producers, and event consumers.

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.