Skip to main content

High-Performance Location-Aware Publish-Subscribe on GPUs

  • Conference paper
Book cover Middleware 2012 (Middleware 2012)

Abstract

Adding location-awareness to publish-subscribe middleware infrastructures would open-up new opportunities to use this technology in the hot area of mobile applications. On the other hand, this requires to radically change the way published events are matched against received subscriptions. In this paper we examine this issue in detail and we present CLCB, a new algorithm using CUDA GPUs for massively parallel, high-performance, location-aware publish-subscribe matching and its implementation into a matching component that allows to easily build a full-fledged middleware system. A comparison with the state-of-the-art in this area shows the impressive increment in performance that GPUs may enable, even in this domain. At the same time, our performance analysis allows to identify those peculiar aspects of GPU programming that mostly impact the performance of this kind of algorithm.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aguilera, M.K., Strom, R.E., Sturman, D.C., Astley, M., Chandra, T.D.: Matching events in a content-based subscription system. In: PODC 1999, pp. 53–61. ACM, New York (1999)

    Google Scholar 

  2. Baldoni, R., Virgillito, A.: Distributed event routing in publish/subscribe communication systems: a survey. Tech. rep. DIS, Università di Roma ”La Sapienza” (2005)

    Google Scholar 

  3. Beckmann, N., Kriegel, H.P., Schneider, R., Seeger, B.: The r*-tree: an efficient and robust access method for points and rectangles. In: SIGMOD 1990, pp. 322–331. ACM, New York (1990)

    Google Scholar 

  4. Böhm, C., Noll, R., Plant, C., Wackersreuther, B., Zherdin, A.: Data Mining Using Graphics Processing Units. In: Hameurlain, A., Küng, J., Wagner, R. (eds.) Trans. on Large-Scale Data- & Knowl.-Cent. Syst. I. LNCS, vol. 5740, pp. 63–90. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  5. Broder, A., Mitzenmacher, M.: Network applications of bloom filters: A survey. Internet Mathematics 1(4), 485–509 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  6. Camp, T., Boleng, J., Davies, V.: A survey of mobility models for ad hoc network research. Wireless Communications and Mobile Computing 2(5), 483–502 (2002)

    Article  Google Scholar 

  7. Campailla, A., Chaki, S., Clarke, E., Jha, S., Veith, H.: Efficient filtering in publish-subscribe systems using binary decision diagrams. In: ICSE 2001, pp. 443–452. IEEE Computer Society, Washington, DC (2001)

    Google Scholar 

  8. Carzaniga, A., Rutherford, M.J., Wolf, A.L.: A routing scheme for content-based networking. In: INFOCOM 2004, Hong Kong, China (March 2004)

    Google Scholar 

  9. Carzaniga, A., Wolf, A.L.: Forwarding in a content-based network. In: SIGCOMM 2003, Karlsruhe, Germany, pp. 163–174 (August 2003)

    Google Scholar 

  10. Cugola, G., de Cote, J.: On introducing location awareness in publish-subscribe middleware. In: 25th IEEE ICDCS Workshops, pp. 377–382 (June 2005)

    Google Scholar 

  11. Cugola, G., Margara, A., Migliavacca, M.: Context-aware publish-subscribe: Model, implementation, and evaluation. In: ISCC 2009, pp. 875–881 (July 2009)

    Google Scholar 

  12. Cugola, G., Picco, G.: REDS: A Reconfigurable Dispatching System. In: SEM 2006, pp. 9–16. ACM Press, Portland (2006)

    Google Scholar 

  13. Cugola, G., Margara, A.: Low latency complex event processing on parallel hardware. Journal of Parallel and Distributed Computing 72(2), 205–218 (2012)

    Article  Google Scholar 

  14. Eugster, P.T., Felber, P.A., Guerraoui, R., Kermarrec, A.M.: The many faces of publish/subscribe. ACM Comput. Surv. 35, 114–131 (2003)

    Article  Google Scholar 

  15. Eugster, P., Garbinato, B., Holzer, A.: Location-based publish/subscribe. In: NCA 2005, pp. 279–282 (July 2005)

    Google Scholar 

  16. Fabret, F., Jacobsen, H.A., Llirbat, F., Pereira, J., Ross, K.A., Shasha, D.: Filtering algorithms and implementation for very fast publish/subscribe systems. In: SIGMOD 2001, pp. 115–126. ACM, New York (2001)

    Google Scholar 

  17. Farroukh, A., Ferzli, E., Tajuddin, N., Jacobsen, H.A.: Parallel event processing for content-based publish/subscribe systems. In: DEBS 2009, pp. 8:1–8:4. ACM, New York (2009)

    Google Scholar 

  18. Fiege, L., Gartner, 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. 998–998. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  19. Frey, D., Roman, G.-C.: Context-Aware Publish Subscribe in Mobile Ad Hoc Networks. In: Murphy, A.L., Vitek, J. (eds.) COORDINATION 2007. LNCS, vol. 4467, pp. 37–55. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  20. Guttman, A.: R-trees: a dynamic index structure for spatial searching. In: SIGMOD 1984, pp. 47–57. ACM, New York (1984)

    Google Scholar 

  21. Jayaram, K., Jayalath, C., Eugster, P.: Parametric subscriptions for content-based publish/subscribe networks. In: Gupta, I., Mascolo, C. (eds.) Middleware 2010. LNCS, vol. 6452, pp. 128–147. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  22. Luckham, D.C.: The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston (2001)

    Google Scholar 

  23. Luo, L., Wong, M., Leong, L.: Parallel implementation of r-trees on the gpu. In: ASP-DAC 2012, January 30 - Febraury 2, pp. 353–358 (2012)

    Google Scholar 

  24. Margara, A., Cugola, G.: High performance content-based matching using gpus. In: DEBS 2011 (2011)

    Google Scholar 

  25. Mühl, G., Fiege, L., Gartner, F., Buchmann, A.: Evaluating advanced routing algorithms for content-based publish/subscribe systems. In: MASCOTS 2002 (2002)

    Google Scholar 

  26. Mühl, G., Fiege, L., Pietzuch, P.: Distributed Event-Based Systems. Springer (2006)

    Google Scholar 

  27. Sadoghi, M., Jacobsen, H.A.: Be-tree: an index structure to efficiently match boolean expressions over high-dimensional discrete space. In: SIGMOD 2011, pp. 637–648. ACM, New York (2011)

    Google Scholar 

  28. Tsoi, K.H., Papagiannis, I., Migliavacca, M., Luk, W., Pietzuch, P.: Accelerating publish/subscribe matching on reconfigurable supercomputing platforms. In: MRSC 2010, Rome, Italy (March 2010)

    Google Scholar 

  29. Yampaka, T., Chongstitvatana, P.: Spatial join with r-tree on graphics processing units. In: IC2IT (2012)

    Google Scholar 

  30. Yu, B., Kim, H., Choi, W., Kwon, D.: Parallel range query processing on r-tree with graphics processing unit. In: DASC 2011, pp. 1235–1242 (December 2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 IFIP International Federation for Information Processing

About this paper

Cite this paper

Cugola, G., Margara, A. (2012). High-Performance Location-Aware Publish-Subscribe on GPUs. In: Narasimhan, P., Triantafillou, P. (eds) Middleware 2012. Middleware 2012. Lecture Notes in Computer Science, vol 7662. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35170-9_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-35170-9_16

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-35169-3

  • Online ISBN: 978-3-642-35170-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics