ABSTRACT
Content-based publish/subscribe systems allow matching the content of events with predicates in the subscriptions. However, most existing systems only allow a limited set of operators, such as comparison on primitive data types (string, integer, etc). In this paper, we consider a publish/subscribe system that supports more flexible events/subscriptions with the use of advanced, yet potentially expensive, matching operators. Examples of such operators are pattern recognizers on multimedia data and spatial operators on location data. We study a critical problem in these publish/subscribe systems, namely how to optimize the matching process for a large number of subscriptions. This is achieved by exploiting the overlap in the subscriptions and sharing the operator evaluation results whenever possible. We formulate the optimal subscription evaluation problem and show that it is NP-Hard. We propose an efficient d-approximation algorithm, where d is the maximum number of operators in one subscription, as well as a heuristic algorithm that can further improve the system performance in practice. Our experiment results show that the proposed algorithms can reduce the matching cost by up to 80%, as compared to a naive strategy that evaluates the subscriptions independently.
- M. K. Aguilera, R. E. Strom, D. C. Sturman, M. Astley, and T. D. Chandra. Matching events in a content-based subscription system. In PODC '99: Proceedings of the 18th ACM Symposium on Principles of Distributed Computing, pages 53--61, Atlanta, Georgia, USA, 1999. Google ScholarDigital Library
- M. Altinel and M. J. Franklin. Efficient filtering of XML documents for selective dissemination of information. In VLDB '00: Proceedings of the 26th International Conference on Very Large Data Bases, pages 53--64, Cairo, Egypt, 2000. Google ScholarDigital Library
- S. Arora and M. Sudan. Improved low-degree testing and its applications. In STOC '97: Proceedings of the 29th ACM Symposium on Theory of Computing, pages 485--495, El Paso, Texas, USA, 1997. Google ScholarDigital Library
- F. Baader, D. Calvanese, D. L. McGuinness, D. Nardi, and P. F. Patel-Schneider, editors. The Description Logic Handbook: Theory, Implementation, and Applications. Cambridge University Press, 2003. Google ScholarDigital Library
- D. Beckett. RDF/XML syntax specification. http://www.w3.org/TR/rdf-syntax-grammar.Google Scholar
- A. Carzaniga, D. S. Rosenblum, and A. L. Wolf. Design and evaluation of a wide-area event notification service. ACM Transactions on Computer Systems, 19(3):332--383, 2001. Google ScholarDigital Library
- C.-Y. Chan, P. Felber, M. Garofalakis, and R. Rastogi. Efficient filtering of XML documents with XPath expressions. The VLDB Journal, 11(4):354--379, 2002. Google ScholarDigital Library
- S. Chaudhuri and K. Shim. Optimization of queries with user-defined predicates. ACM Transactions on Database Systems, 24(2):177--228, 1999. Google ScholarDigital Library
- J. Chen, D. DeWitt, and J. Naughton. Design and evaluation of alternative selection placement strategies in optimizing continuous queries. In ICDE '02: Proceedings of the 18th International Conference on Data Engineering, pages 345--356, San Jose, California, USA, 2002. Google ScholarDigital Library
- J. Chen, D. DeWitt, F. Tian, and Y. Wang. NiagaraCQ: A scalable continuous query system for internet databases. In SIGMOD '00: Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 379--390, Dallas, Texas, USA, 2000. Google ScholarDigital Library
- P. A. Chirita, S. Idreos, M. Koubarakis, and W. Nejdl. Publish/subscribe for RDF-based P2P networks. In ESWS '04: Proceedings of the 1st European Semantic Web Symposium, pages 182--197, Heraklion, Greece, 2004.Google ScholarCross Ref
- M. Cilia, C. Bornhoevd, and A. P. Buchmann. CREAM: An infrastructure for distributed, heterogeneous event-based applications. In Proceedings of the International Conference on Cooperative Information Systems, pages 482--502, 2003.Google ScholarCross Ref
- G. Cugola, E. D. Nitto, and A. Fuggetta. Exploiting an event-based infrastructure to develop complex distributed systems. In ICSE '98: Proceedings of the 20th International Conference on Software Engineering, pages 261--270, Kyoto, Japan, 1998. Google ScholarDigital Library
- N. Dalvi, S. Sanghai, P. Roy, and S. Sudarshan. Pipelining in multi-query optimization. In PODS '01: Proceedings of the 20th ACM Symposium on Principles of Database Systems, pages 59--70, Santa Barbara, California, USA, 2001. Google ScholarDigital Library
- O. Etzioni, S. Hanks, T. Jiangx, R. M. Karp, O. Madani, and O. Waarts. Efficient information gathering on the Internet. In FOCS '96: Proceedings of the 37th Annual Symposium on Foundations of Computer Science, pages 234--243, Burlington, Vermont, USA, 1996. Google ScholarDigital Library
- J. Hellerstein and M. Stonebraker. Predicate migration: Optimizing queries with expensive predicates. In SIGMOD '93: Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 267--276, Washington, D.C., USA, 1993. Google ScholarDigital Library
- S. Madden, M. Shah, J. Hellerstein, and V. Raman. Continuously adaptive continuous queries over streams. In SIGMOD '02: Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 49--60, Madison, Wisconsin, USA, 2002. Google ScholarDigital Library
- H. Mistry, P. Roy, S. Sudarshan, and K. Ramamritham. Materialized view selection and maintenance using multi-query optimization. In SIGMOD '01: Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 307--318, Santa Barbara, California, USA, 2001. Google ScholarDigital Library
- J. Pereira, F. Fabret, H.-A. Jacobsen, F. Llirbat, and D. Shasha. WebFilter: A high-throughput XML-based publish and subscribe system. In VLDB '01: Proceedings of the 27th International Conference on Very Large Data Bases, pages 723--724, Roma, Italy, 2001. Google ScholarDigital Library
- M. Petrovic, I. Burcea, and H.-A. Jacobsen. S-ToPSS: Semantic Toronto publish/subscribe system. In VLDB '03: Proceedings of 29th International Conference on Very Large Data Bases, pages 1101--1104, Berlin, Germany, 2003. Google ScholarDigital Library
- M. Petrovic, H. Liu, and H.-A. Jacobsen. G-ToPSS: Fast filtering of graph-based metadata. In WWW '05: Proceedings of the 14th International Conference on World Wide Web, pages 539--547, Chiba, Japan, 2005. Google ScholarDigital Library
- J. Wang, B. Jin, and J. Li. An ontology-based publish/subscribe system. In Middleware '04: Proceedings of the 5th ACM/IFIP/USENIX International Conference on Middleware, pages 232--253, Toronto, Canada, 2004. Google ScholarDigital Library
Index Terms
- Scalable event matching for overlapping subscriptions in pub/sub systems
Recommendations
Evolving pub/sub subscriptions for multiplayer online games: demo
DEBS '16: Proceedings of the 10th ACM International Conference on Distributed and Event-based SystemsWe identify a class of content-based pub/sub applications with highly dynamic subscriptions. This includes location-based notification systems, predictive stock trading, and multiplayer games. The traditional method of handling subscription changes by ...
An efficient event matching system for semantic smart data in the Internet of Things (IoT) environment
AbstractThe publish/subscribe model for communication has proved to be the most suitable in the Internet of things (IoT) environment because of the decoupling provided by this model that supports communication among heterogeneous parties. The standard or ...
Highlights- Utilization of semantic Smart data for efficient event matching in IoT environment.
- A semantic Pub/Sub model is designed for semantic Smart data matching with subscriptions.
- The matching algorithm utilizes a tree-based structure to ...
Parameterized subscriptions in publish/subscribe systems
Traditional publish/subscribe systems commonly deal with static subscriptions, whose event filtering criteria stay fixed once defined. Although systems with static subscriptions are simpler to implement, there are cases where the subscription criterion ...
Comments