Comparison of Pattern Matcher and Other Components

Each component of Pattern Matcher has different use for different situation.

The following table shows some of the key features provided by Pattern Matcher, rules and state machines, and continuous queries. It enables you to decide which component to use for a given situation.

Comparison of Pattern Matcher and Other Components
Pattern Matcher Rules, State Machines Continuous Queries
Specify and identify event arrival sequence and temporal order    
Recognize patterns Drive business logic Continuous computation over one or more streams of events
Correlate across streams Specify join conditions Query join
Dynamic deployment    
Templatized patterns    
Complex patterns with sub-patterns Nested states  
  High availability and fault tolerance  
Like primitive state machines State transitions offer rich and powerful syntax  
    Windowing constructs
    Incremental aggregates, sorting, and joins