[Reprint] original link: http://www.cnblogs.com/shanyou/archive/2010/09/16/cep.html
In recent years, service-oriented architecture SOA has been a hot topic. Service-Oriented Architecture SOA
Compared with components,Program(Procedure) services at a higher level are used as processing units.
To exchange data, avoid the inconvenience caused by the differences between different platforms, achieve effective and flexible combination of enterprise logic in a heterogeneous IT environment, and more quickly generate response, it is expected to achieve the so-called Real-Time Enterprise.
Event-driven architecture,
Based on the service-oriented architecture, EDA further converts services in services into events for processing. When an event is generated, the next event is triggered. The event-driven architecture can not only send messages
The sending end decides the purpose, and the subsequent process can be determined dynamically based on the message content. It is more flexible to adapt to the increasingly complex business logic architecture.
An event can be seen as a state change that can be observed in a system. For example, the next order, RFID
Sensor return information. The event-driven architecture contains two parts: the event owner and the event consumer. The event consumer publishes information to the Manager, while the event consumer subscribes to the manager, and the event triggers
When an event occurs, the system and the corresponding action are taken.
The event-driven architecture also includes the concept of SOA, soa2.0 (reference), and is also an asynchronous software architecture.
- Simple event processing(Simple eventProcessing ):Simple event processing can be viewed as a message-oriented processing architecture.
To handle a single event, the event is defined as a change that can be observed directly. In this architecture, simple event processing only involves two tasks: filtering and routing)
. The filtering function determines whether an event should be transmitted, and the routing determines who the event should be transmitted. For example, when the temperature sensor senses a change at a certain time, it sends the event to the subscription directly through the event processing engine.
All workflows are real-time. In this way, the user will greatly reduce the time and cost.
- Compound event processing (Complex event Processing ): The compound event was initiated by David of the University of Denver.
Proposed by luckham and Brian fraseca, David luckham and Brian fraseca
In 1990, a composite event architecture was proposed to use pattern comparison, event relationships, and event aggregation relationships to identify meaningful events from event cloud, so that it
The architecture can use the event-driven architecture more elastically, and enable enterprises to develop more complex logic architectures more quickly. In the event-driven architecture, combined with simple events, event streaming processing (Event
Streaming processing and complex
Event ). Compared with simple events, complex event processing not only processes a single event, but also processes a composite event composed of multiple events. Complex Event Processing monitoring and analysis event streams
Streaming) to trigger certain actions when a specific event occurs.
Complex Event processing can be seen as a database processing that processes streaming. The data processed in a relational database is a data table with many rows.
Miscellaneous event processing treats event streaming as a data table, and the attribute in the event type is equivalent to the field in the data table. In the past, when using relational databases, the data was first stored in a relational database, and then used SQL
Syntax to process data tables in the database. When complex event processing is used, the process of data processing goes forward, and events are processed in the stream without saving the action. Therefore, we use
SQL-like
Language. In addition to filtering and routing, complex event processing also provides Mode Comparison capabilities. Find various activities of the event set, event aggregation, various causal relationships in the past history, logic and operations, and so on, trigger
New event response. In complex event processing, to achieve high throughput, high availability, and low latency
(Latency) enables enterprises to make real-time decisions, so event streamprocessing is used ). Use EPL (Event
Processing language) for SQL-LIKE
You can easily provide complex logic processing for event streaming, enabling event streaming to perform Mode Comparison and query operations in the memory. These processes are carried out in the memory and do not need to be stored through the storage device.
-
Streaminsight is a new module in SQL Server 2008 R2. It providesComplex Event Processing (CEP, complex event processing).
Garden ProblemsArticle: [Original] streaminsight light-in-light (1), [original] streaminsight light-in-light (2)-stream and event, [original] streaminsight light-in-light (3)-adapter
Related open-source projects
Esper-Complex Event Processing
Http://esper.codehaus.org/
JBoss-drools Fusion
Http://www.jboss.org/drools/drools-fusion.html
Open esb iep se
Http://wiki.open-esb.java.net/Wiki.jsp? Page = iepse
Activeinsight
Http://www.activeinsight.net/
For other products or open-source projects, see complex event processing vendors.
-
- References
In-depth introduction to compound event processing (CEP)
Easy understanding of compound event processing
Esper: CEP Engine
Complex Event Processing: an attempt at clarity on an often confusing topic
Sybase CEP: A Novel Data Stream Analysis Platform
-
My weibo theme http://t.qq.com/k/StreamInsight
[Reprint] original link: http://www.cnblogs.com/shanyou/archive/2010/09/16/cep.html
In recent years, service-oriented architecture SOA has been a hot topic. Service-Oriented Architecture SOA
Services with a higher level than components and programs (Procedure) are used as processing units.
To exchange data, avoid the inconvenience caused by the differences between different platforms, achieve effective and flexible combination of enterprise logic in a heterogeneous IT environment, and more quickly generate response, it is expected to achieve the so-called Real-Time Enterprise.
Event-driven architecture,
Based on the service-oriented architecture, EDA further converts services in services into events for processing. When an event is generated, the next event is triggered. The event-driven architecture can not only send messages
The sending end decides the purpose, and the subsequent process can be determined dynamically based on the message content. It is more flexible to adapt to the increasingly complex business logic architecture.
An event can be seen as a state change that can be observed in a system. For example, the next order, RFID
Sensor return information. The event-driven architecture contains two parts: the event owner and the event consumer. The event consumer publishes information to the Manager, while the event consumer subscribes to the manager, and the event triggers
When an event occurs, the system and the corresponding action are taken.
The event-driven architecture also includes the concept of SOA, soa2.0 (reference), and is also an asynchronous software architecture.
-
- Simple event processing(Simple eventProcessing ):Simple event processing can be viewed as a message-oriented processing architecture.
To handle a single event, the event is defined as a change that can be observed directly. In this architecture, simple event processing only involves two tasks: filtering and routing)
. The filtering function determines whether an event should be transmitted, and the routing determines who the event should be transmitted. For example, when the temperature sensor senses a change at a certain time, it sends the event to the subscription directly through the event processing engine.
All workflows are real-time. In this way, the user will greatly reduce the time and cost.
- Compound event processing (Complex event Processing ): The compound event was initiated by David of the University of Denver.
Proposed by luckham and Brian fraseca, David luckham and Brian fraseca
In 1990, a composite event architecture was proposed to use pattern comparison, event relationships, and event aggregation relationships to identify meaningful events from event cloud, so that it
The architecture can use the event-driven architecture more elastically, and enable enterprises to develop more complex logic architectures more quickly. In the event-driven architecture, combined with simple events, event streaming processing (Event
Streaming processing and complex
Event ). Compared with simple events, complex event processing not only processes a single event, but also processes a composite event composed of multiple events. Complex Event Processing monitoring and analysis event streams
Streaming) to trigger certain actions when a specific event occurs.
Complex Event processing can be seen as a database processing that processes streaming. The data processed in a relational database is a data table with many rows.
Miscellaneous event processing treats event streaming as a data table, and the attribute in the event type is equivalent to the field in the data table. In the past, when using relational databases, the data was first stored in a relational database, and then used SQL
Syntax to process data tables in the database. When complex event processing is used, the process of data processing goes forward, and events are processed in the stream without saving the action. Therefore, we use
SQL-like
Language. In addition to filtering and routing, complex event processing also provides Mode Comparison capabilities. Find various activities of the event set, event aggregation, various causal relationships in the past history, logic and operations, and so on, trigger
New event response. In complex event processing, to achieve high throughput, high availability, and low latency
(Latency) enables enterprises to make real-time decisions, so event streamprocessing is used ). Use EPL (Event
Processing language) for SQL-LIKE
You can easily provide complex logic processing for event streaming, enabling event streaming to perform Mode Comparison and query operations in the memory. These processes are carried out in the memory and do not need to be stored through the storage device.
-
Streaminsight is a new module in SQL Server 2008 R2. It providesComplex Event Processing (CEP, complex event processing).
Related Articles in the garden: [original] Introduction to streaminsight (1) and introduction to [original] Introduction to streaminsight (2) -- stream and event, [original] streaminsight light-in-light (3) -- Adapter
Related open-source projects
Esper-Complex Event Processing
Http://esper.codehaus.org/
JBoss-drools Fusion
Http://www.jboss.org/drools/drools-fusion.html
Open esb iep se
Http://wiki.open-esb.java.net/Wiki.jsp? Page = iepse
Activeinsight
Http://www.activeinsight.net/
For other products or open-source projects, see complex event processing vendors.
-
- References
In-depth introduction to compound event processing (CEP)
Easy understanding of compound event processing
Esper: CEP Engine
Complex Event Processing: an attempt at clarity on an often confusing topic
Sybase CEP: A Novel Data Stream Analysis Platform
-
My weibo theme http://t.qq.com/k/StreamInsight