Skip to main content

An Implementation of Content-Based Pub/Sub System via Stream Computation

  • Conference paper
  • First Online:
Smart Computing and Communication (SmartCom 2017)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 10699))

Included in the following conference series:

  • 1912 Accesses

Abstract

The sheer volume of data delivered via the Internet requires a more flexible and powerful communication model. As an expressive loosely-coupled asynchronous messaging model, Publish-Subscribe (Pub/Sub) system has been widely used. Traditional topic-based Pub/Sub system fails to understand the information of messages delivered, all messages must be previously classified into a set of topics. Content-based Pub/Sub system can dynamically choose subscribers for each message by its metadata. Existing distributed Pub/Sub systems are built on the overlay network consists of message brokers, which can adapt to heterogeneous network but inevitably impairs performance. In this paper, we designed a novel centralized tiered content-based Pub/Sub system with a four-layer architecture. In access layer, a customized naming strategy is proposed to achieve high availability. Internal message routing is finished in routing layer and sharding scheme is used to lower routing overhead. In computation layer, a two-step streaming computation model is used to boost the performance. In storage layer we adopt column-oriented database HBase for persistence. A set of comprehensive experiments were conduct to verify that our system achieve excellent performance, linear scalability and high availability.

This work has been financially supported by Shenzhen Key Fundamental Research Projects (Grant No. JCYJ20170412151008290, JCYJ20170306091556329, JCYJ20170412150946024).

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Banavar, G., Chandra, T., Mukherjee, B., Nagarajarao, J.: An efficient multicast protocol for content-based publish-subscribe systems. In: Proceedings of IEEE International Conference on Distributed Computing Systems, 1999, pp. 262–272 (1999)

    Google Scholar 

  2. Strom, R., Banavar, G., Chandra, T., Kaplan, M., Miller, K., Mukherjee, B., et al.: Gryphon: an information flow based approach to message brokering. Computer Science arXiv:cs/9810019 (1998)

  3. Cao, F., Singh, J.P.: MEDYM: match-early with dynamic multicast for content-based publish-subscribe networks. In: Alonso, G. (ed.) Middleware 2005. LNCS, vol. 3790, pp. 292–313. Springer, Heidelberg (2005). https://doi.org/10.1007/11587552_15

    Chapter  Google Scholar 

  4. Carzaniga, A., Rosenblum, D.S., Wolf, A.L.: Design and evaluation of a wide-area event notification service. ACM Trans. Comput. Syst. 19(3), 283–334 (2003)

    Google Scholar 

  5. Apache Storm. http://storm.apache.org. Accessed 08 Oct 2017

  6. MQTT. http://mqtt.org. Accessed 08 Oct 2017

  7. Netty. https://netty.io. Accessed 08 Oct 2017

  8. Lei, K., Hou, C., Li, L., Xu, K.: A RCP-based congestion control protocol in named data networking. In: 2015 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), pp. 538–541. IEEE (2015)

    Google Scholar 

  9. Wong, T., Katz, R., Mccanne, S.: An evaluation of preference clustering in large-scale multicast applications. In: Proceedings of IEEE Nineteenth Joint Conference of the IEEE Computer and Communications Societies, INFOCOM 2000, vol. 2, pp. 451–460. IEEE (2000)

    Google Scholar 

  10. Wang, Y.M., Qiu, L., Achlioptas, D., Das, G., Larson, P., Wang, H.J.: Subscription partitioning and routing in content-based publish/subscribe systems. In: Disc Proceedings of International Symposium on Distributed Computing (2002)

    Google Scholar 

  11. Beckmann, N., Kriegel, H.P., Schneider, R., Seeger, B.: The R*-tree: an efficient and robust access method for points and rectangles. ACM Sigmod Rec. 19(2), 22–331 (1990)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kai Lei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Huang, L., Liu, L., Chen, J., Lei, K. (2018). An Implementation of Content-Based Pub/Sub System via Stream Computation. In: Qiu, M. (eds) Smart Computing and Communication. SmartCom 2017. Lecture Notes in Computer Science(), vol 10699. Springer, Cham. https://doi.org/10.1007/978-3-319-73830-7_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-73830-7_34

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-73829-1

  • Online ISBN: 978-3-319-73830-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics