Parametric Subscriptions for Content-Based Publish/Subscribe Networks

  • K. R. Jayaram
  • Chamikara Jayalath
  • Patrick Eugster
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6452)


Subscription adaptations are becoming increasingly important across many content-based publish/subscribe (CPS) applications. In algorithmic high frequency trading, for instance, stock price thresholds that are of interest to a trader change rapidly, and gains directly hinge on the reaction time to relevant fluctuations. The common solution to adapt a subscription consists of a re-subscription, where a new subscription is issued and the superseded one canceled. This is ineffective, leading to missed or duplicate events during the transition. In this paper, we introduce the concept of parametric subscriptions to support subscription adaptations. We propose novel algorithms for updating routing mechanisms effectively and efficiently in classic CPS broker overlay networks. Compared to re-subscriptions, our algorithms significantly improve the reaction time to subscription updates and can sustain higher throughput in the presence of high update rates. We convey our claims through implementations of our algorithms in two CPS systems, and by evaluating them on two different real-world applications.


Navigation System Binary Decision Diagram Spurious Event Algorithmic Trading High Frequency Trading 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Oki, B., Pfluegl, M., Siegel, A., Skeen, D.: The Information Bus - An Architecture for Extensible Distributed Systems. In: SOSP 1993, pp. 58–68 (1993)Google Scholar
  2. 2.
    Lati, R.: The Real Story of Trading Software Espionage. (2009),
  3. 3.
    The Economist: Moving Markets: Shifts in Trading Patterns are Making Technology Ever More Important (2006),
  4. 4.
    Aite Group: Algorithmic Trading: Hype or Reality? (2005),
  5. 5.
    Cugola, G., Margara, M., Migliavacca, M.: Context-aware Publish-Subscribe: Model, Implementation, and Evaluation. In: ISCC 2009, pp. 875–881 (2009)Google Scholar
  6. 6.
    Schwiderski-Grosche, S., Moody, K.: The SpaTeC Composite Event Language for Spatio-temporal Reasoning in Mobile Systems. In: DEBS 2009, pp.1–12 (2009)Google Scholar
  7. 7.
    Eugster, P.T., Garbinato, B., Holzer, A.: Location-based Publish/Subscribe. In: NCA 2005, pp. 279–282 (2005)Google Scholar
  8. 8.
    Carzaniga, A., Rosenblum, D., Wolf, A.: Design and Evaluation of a Wide Area Event Notification Service. ACM TOCS 19(3), 332–383 (2001)Google Scholar
  9. 9.
    Pietzuch, P., Bacon, J.: Hermes: A Distributed Event-Based Middleware Architecture. In: ICDCS 2002 Workshops (DEBS 2002), pp. 611–618 (2002)Google Scholar
  10. 10.
    Jafarpour, H., Hore, B., Mehrotra, S., Venkatasubramanian, N.: Subscription subsumption evaluation for content-based publish/Subscribe systems. In: Issarny, V., Schantz, R. (eds.) Middleware 2008. LNCS, vol. 5346, pp. 62–81. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  11. 11.
    Jafarpour, H., Hore, B., Mehrotra, S., Venkatasubramanian, N.: CCD: Efficient Customized Content Dissemination in Distributed Publish/Subscribe. In: Bacon, J.M., Cooper, B.F. (eds.) Middleware 2009. LNCS, vol. 5896, pp. 62–82. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  12. 12.
    Fiege, L., Gärtner, F., Kasten, O., Zeidler, A.: Supporting Mobility in Content-based Publish/Subscribe Middleware. In: Endler, M., Schmidt, D.C. (eds.) Middleware 2003. LNCS, vol. 2672, pp. 103–122. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  13. 13.
    Aguilera, M., Strom, R., Sturman, D., Astley, M., Chandra, T.: Matching Events in a Content-Based Subscription System. In: PODC 1998, pp. 53–62 (1998)Google Scholar
  14. 14.
    Li, G., Hou, S., Jacobsen, H.: A Unified Approach to Routing, Covering and Merging in Publish/Subscribe Systems based on Modified Binary Decision Diagrams. In: ICDCS 2005, pp. 447–457 (2005)Google Scholar
  15. 15.
    Triantafillou, P., Economides, A.A.: Subscription Summarization: A New Paradigm for Efficient Publish/Subscribe Systems. In: ICDCS 2004, pp. 562–571 (2004)Google Scholar
  16. 16.
    van Renesse, R., Birman, K.P., Vogels, W.: Astrolabe: A Robust and Scalable Technology For Distributed Systems Monitoring, Management, and Data Mining. ACM TOCS 21(3) (2003)Google Scholar
  17. 17.
    Eugster, P.T., Guerraoui, R.: Probabilistic Multicast. In: DSN 2002, pp. 313–324 (2002)Google Scholar
  18. 18.
    Gupta, A., Sahin, O.D., Agrawal, D., Abbadi, A.: Meghdoot: Content-Based Publish/Subscribe over P2P Networks. In: Jacobsen, H.-A. (ed.) Middleware 2004. LNCS, vol. 3231, pp. 254–273. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  19. 19.
    Castro, M., Druschel, P., Kermarrec, A.M., Rowstron, A.: SCRIBE: A Large-Scale and Decentralized Application-level Multicast Infrastructure. IEEE JSAC 20(8), 100–110 (2002)Google Scholar
  20. 20.
    Chockler, G., Melamed, R., Tock, Y., Vitenberg, R.: Spidercast: a Scalable Interest-aware Overlay for Topic-based Pub/Sub Communication. In: DEBS 2007, pp. 14–25 (2007)Google Scholar
  21. 21.
    Eugster, P., Jayaram, K.R.: EventJava: An Extension of Java for Event Correlation. In: Drossopoulou, S. (ed.) ECOOP. LNCS, vol. 5653, pp. 570–594. Springer, Heidelberg (2009)Google Scholar
  22. 22.
    Cormen, T.H., Rivest, R., Leiserson, C., Stein, C.H.: Introduction to Algorithms. MIT Press, Cambridge (2009)Google Scholar
  23. 23.
    Forgy, C.L.: On the Efficient Implementation of Production Systems. PhD Thesis, Carnegie-Mellon University (1979)Google Scholar
  24. 24.
    Schneider, S.: DDS and Distributed Data-centric Embedded Systems. Dr. Dobb’s Journal,
  25. 25.
    Barnett, D.: Publish-Subscribe Model Connects Tokyo Highways. Industrial Embedded Systems,

Copyright information

© IFIP International Federation for Information Processing 2010

Authors and Affiliations

  • K. R. Jayaram
    • 1
  • Chamikara Jayalath
    • 1
  • Patrick Eugster
    • 1
  1. 1.Department of Computer SciencePurdue UniversityUSA

Personalised recommendations