چكيده به لاتين
A complex event processing system is an event based system. In these systems rules define patterns of events, and event processing engine extracts the patterns by processing the rules. A machine with an assigned event processing engine to is called a node. One of current challenges on complex event processing systems, is inaccuracy in event processing engine’s results whilst high input rates. This challenge emerges due to processing capacity constraint of the node which complex event processing engine is running on. At high event input rates the engine is unable to process all the input events. Thus the engine will ignore some of the input or will prepare output with long periods of delays. Either of these cases will result in a processing fault, because complex event processing requires real time processing of all events. To resolve this challenge, active standby method is introduced which in the same time is the best solution. Researches have shown this method’s effectiveness in preventing faults up to a certain event input rate threshold. This threshold is defined according to assigned processing capacity to the engine and it is variable. In this thesis there will be presented a different mechanism with a similar architecture for increasing the threshold. Difference between this method and the active standby, lies in management of high cost rules in the system. In this mechanism event input rates to system are distributed, then monitored; and according to the input rate, processing cost of each rule is defined. If processing costs sum of existing rules in a node exceeds processing capacity of the node, active rules on this node have to be managed. In order to evaluate, costs of rules are measured by Esper criterion. According to costs of rules and processing capacities of nodes, rules are distributed with one iteration. In the conducted test, events input rate to system is gradually increased and fault occurrence point in the suggested mechanism and active standby method are measured. According to the results, in the suggested mechanism fault occurs in rate of 77000 and in active standby method in rate of 53500 events per second, which shows 45 percent improvement in the suggested mechanism. But average complex event recognition latency in the suggested mechanism is 745 and in active standby method is 615 milliseconds, the reason for this increase lies in time needed for input rate calculation and applying management algorithm.
Keywords: Complex Event Processing, Distributed Systems, Fault Prevention, High Availability.