The design pattern of CEP--building modules

Source: Internet
Author: User
I. Events (EVENT)
is defined by the schema.
is the tuple of the event property


Flow (stream) event flow
Time ordered sequence of event is a chronological sequence of events
Append-only cannot remove events, only append

unbounded Without Borders.


STREAM
 examples:
{1s, event1}, {2s, event2}, {4s, event3}}
Valid stream
{1s, event1}, {4s, Event2}, {2s, event3}}
 not a STREAM, this is a EVENT CLOUD.


Third, relationship relation
      Some instantaneous package event
      Allow inserts, deletes, updates


For example:
Example :
 at t=1: {{event1}, {Event2}, {Event3}}
at t=2: {{event1}, {Event3}, {event4}}
No changes to Event1 and Event3
 event2 is deleted
 event4 was inserted




Four, Operation OPERATORS
  1: conversion Flows and relationships
  2: Operation type
      relationship to relationship   such as: relational database (Project,filter,join)
      stream to relationship nbsp; From flow to relationship window actions
  3: Related to Flow
  4: Streaming to stream


Summary:
CEP is a contact flow event handling
Flow is an only added, time based stream sequence
A relationship is a time when you can add, modify, and delete events collection







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.