Predicate matching and subscription matching in Publish/Subscribe systems

G. Ashayer1, H.K.Y. Leung2, H.-A. Jacobsen1
1Department of Electrical and Computer Engineering and Department of Computer Science, University of Toronto, Canada
2Department of Electrical and Computer Engineering and Department of Computer Science, University of Toronto

Tóm tắt

An important class of publish/subscribe matching algorithms work in two stages. First, predicates are matched and then matching subscriptions are derived. We observe that in practice, the domain types over which predicates are defined are often of fixed enumerable cardinality. Based on this observation we propose a table-based look-up scheme for fast predicate evaluation that finds all matching predicates for each type with one table lookup. We compare this scheme to alternative general-purpose implementations. This observation may also suggests that matching in publish/subscribe systems could equally well be implemented with standard database technology. We propose two DBMS-based matching algorithms and compare the better one with a special purpose publish/subscribe matching algorithm implementation. We provide first evidence that for application scenarios that require large subscription workloads and process many events a DBMS-based solution is not a feasible alternative.

Từ khóa

#Subscriptions #Inference algorithms #Jacobian matrices #Financial management #Computer science #Cost accounting #Table lookup #Standards publication #Databases #Memory management

Tài liệu tham khảo

pereira, 2000, Publish/subscribe on the web at extreme speed, Proceedings of the 26th VLDB Conference segal, 1997, Elvin has left the building: A publish/subscribe notification service with quenching, Proceedings of AUUG97 whitney, 0, Kdb Kx Systems 10.1109/32.92914 10.1145/176567.176573 heimbigner, 1997, An architecture for post-development configuration management in a wide-area network, 17th International Conferenceon Distributed Computing Systems 10.1145/343477.343622 gough, 1995, Efficient recognition of events in distributed systems, Proceedings of ACSC-18 10.1145/375663.375677 jacobsen, 2001, Middleware services for selective and location-based information dissemination in mobile wireless networks, Middleware 2001 Workshop on Middleware for Mobile Computing 10.1145/93597.98736 10.1145/301308.301326 0, The Gryphon Project Home Page IBM TJ Watson pereira, 2001, Le subscribe: Publish and subscribe on the web at extreme speed, SIGMOD digital library