Concepts and Models for Typing Events for Event-Based Systems

Concepts and Models for Typing Events for Event-Based Systems

Concepts and Models for Typing Events for Event-Based Systems Szabolcs Rozsnyai Josef Schiefer Alexander Schatten Secure Business Austria Institute for Software Technology Institute for Software Technology Favoritenstraße 16 and Interactive Systems and Interactive Systems 1040 Vienna, Austria Favoritenstrasse 9-11/188 Favoritenstrasse 9-11/188 rozsnyai@ securityresearch.at 1040 Vienna, Austria 1040 Vienna, Austria [email protected] [email protected]. ac.at ABSTRACT Event-based systems are seeing increasingly widespread use in Event-based systems are increasingly gaining widespread applications ranging from time-critical systems, system attention for applications that require integration with loosely management and control, to e-commerce. Event-based systems coupled and distributed systems for time-critical business can capture information from various sources (producers) and solutions. In this paper, we show concepts and models for distribute it in a timely manner to interested consumers. They can representing, structuring and typing events. We discuss existing be used to integrate a wide range of components into a loosely- event models in the field and introduce the event model of the coupled distributed system with event producers which can be event-based system SARI for illustrating various typing concepts. application components, post-commit triggers in a database, The typing concepts cover topics such as type inheritance and sensors, or system monitors, and event consumers which can be exheritance, dynamic type inferencing, attribute types, as well as application components, device controllers, databases, or the extendibility and addressability of events. We show how the workflow queues. typing concepts evolved and depend on the implemented event- The “instant” of an event is relative to the time granularity that is based systems which use different approaches for the event needed or desired. Thus, certain activities that are of short processing such as graphical approaches, or approaches, that use duration relative to the time granularity are represented as a single Java code, SQL code, or ECA (event-condition-action) rules. event. An activity spanning some significant period of time is represented by the interval between two or more events. For Categories and Subject Descriptors example, an order review might have a “begin-review” and “end- C.0 Computer Systems Organization: Modeling of computer review” event-pair. Similarly, a workitem in a workitem list could architecture; System architectures; Systems specification be represented by the three events “enter-worklist” “start- methodology C.2.4 [Computer-Communication Networks]: processing” “end-processing”. Distributed Systems; C.3 [Computer Systems Organization]: For purposes of maintaining information about an action, events Special-Purpose and Application-Based Systems also capture attributes about the context when the event occurred. Event attributes are items such as the agents, resources, and data General Terms associated with an event, the tangible result of an action (e.g., the result of an approval decision), or any other information that gives Standardization, Languages, Design character to the specific occurrence of that type of event. Keywords Elements of an event context can be used to define a relationship Event Model, Complex Event Processing, Event Stream with other events in order to correlate them. Processing, Service Oriented Architecture Traditionally, the research on event-based systems has focused on typical usage patterns such as the publish-subscribe paradigm as 1. INTRODUCTION well as on stream processing, continuous queries, and rule-based event correlation. The developed system used various ways of representing, filtering and querying events. In many cases, event Permission to make digital or hard copies of all or part of this work for models have grown from query languages, distributed platforms personal or classroom use is granted without fee provided that copies are or architectures for integrating systems. not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy In this paper, we want to pay attention to existing event models in otherwise, to republish, to post on servers or to redistribute to lists, the field. By defining the scope of an event model, we want to requires prior specific permission and/or a fee. focus on issues for representing and structuring event data. DEBS '07, June 20-22, 2007 Toronto, Ontario, Canada We introduce the event model of an event-based system called Copyright 2007 ACM 978-1-59593-665-3/07/03... $5.00 SARI, in order to illustrate and discuss various typing concepts. 62 Compared to other IT-systems, event-based systems still lack in would break encapsulation principles. Instead, arbitrary methods the support of tools that allow users to easily reconfigure a system can be called on the event object to provide a filtering condition. or to refactor service and components. An event model has a Recently, many research projects and industrial solutions work on major impact on the flexibility and usability of tools. In the event stream processing (ESP) and complex event processing following, we want to show the role and importance of an event (CEP). These approaches address the problem of processing large model with some illustrative examples. amounts of events to deliver real-time information, enable closed • Development Tools. An event model can be used by loop decision making and continuous data integration. In general development tools to check the consistency of linked the approaches allow to monitor, steer and optimize processes in processing tasks or for offering autocompletition (near) real time. capabilities (which are common in integrated development The key characteristic of a CEP/ESP system is its capability of environments) for event-related expressions. Such handling complex event situations, detecting patterns, creating capabilities can significantly facilitate the definition queries, correlations, aggregating events and making use of time windows. event-triggered rules or data mappings. The research for this paper has shown that the underlying event • Integration Tools. Typically, the producer of an event is a model can provide insights into the capabilities of event business system which has to be integrated with the event- processing engines. Despite the discussion about a distinction based system. With the rising popularity of XML, events between CEP and ESP solutions, the event models have shown are often represented as XML messages which are sent from that ESP solutions usually treat events in the form of tuples, while a producer to a consumer. Many existing event-based CEP solutions make use of more complex data structures. systems have originally started with a SQL-based approach for querying event streams which come along with certain This paper provides an overview of event model concepts and limitations when querying hierarchical data. their implementation in various solutions. • Event Mining. An event model has a significant impact on Esper [8] is an Open Source event stream processing solution for how event patterns can be discovered in event streams or analyzing event streams. Esper supports conditional triggers on within historical event traces [17][16]. For many statistical event patterns, event correlations and SQL queries for event analyses, it is necessary to capture sample sets for events streams. It has a lightweight processing engine and is currently that have specific characteristics. Thereby, many event available under GPL licence. mining approaches require event types for classifying, Borealis and Aurora [2] are stream processing engines for SQL- ranking or analyzing temporal sequence patterns. based queries over streaming data with efficient scheduling and • Query and Rule Management. The definition of queries QoS delivery mechanisms. Medusa [27] focuses on extending and rules is in many event-based systems challenging for Auroras stream processing engine to distribute the event users. Graphical tools for building queries and rules require processing. Borealis extends Aurora’s event stream processing an event model that is easy to understand for (business) engines with dynamic query modification and revision users. capabilities and makes use of Medusas distributed extensions. RuleCore [21][25] is an event-driven rule processing engine supporting Event Condition Action (ECA) rules and providing a 2. RELATED WORK user interface for rule building and composite event definitions. Historically, event models first arose in the context of business activity monitoring and complex event processing. Early models Chen et al. [7] show an approach for rule-based event correlation. haven been mainly influenced by publish/subscribe systems, in In their approach, they correlate and adapt complex/structural particular those which supported content-based filtering XML events corresponding to an XML schema. The authors mechanisms [13]. describe an approach for translating hierarchical structured events into an event model which uses name-value pairs for storing event Distributed pub/sub architectures such as Hermes [20], Gryphon attributes. [4][13], and Siena [6] only provide parameterized primitive events, since these systems focus on implementing messaging AMIT [3] is an event stream engine whose goal is to provide middleware which delivers events to consumers based upon their high-performance

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us