[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

HKS: Efficient Data Partitioning for Stateful Streaming

  • Conference paper
  • First Online:
Big Data Analytics and Knowledge Discovery (DaWaK 2023)

Abstract

Data partitioning among processing instances of distributed stream processing systems (DSPSs) plays a significant role in the performance of overall stream processing. Several data partitioning schemes, including round-robin and hash-based key-splitting strategies, are employed in this context. However, stateful operations introduce challenges such as data aggregation overhead and load imbalance among processing instances due to the skewed nature of real data. In this paper, we propose a partitioning strategy (HKS) that considers the popularity of the tuples on the fly and partitions them according to their frequency: higher frequent tuples are routed by employing power-of-the-two-choices, whereas low ones by using a single hash function. We perform a comprehensive experimental evaluation on synthetic and real-world data sets on well-known Apache Storm DSPS. Results demonstrate the superior performance of the HKS against state-of-the-art data partitioning schemes in terms of load imbalance and aggregation cost.

Department of Information and Communication Technology, DBGROUP.

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.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
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 47.99
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 59.99
Price includes VAT (United Kingdom)
  • 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

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/zfz/twitter_corpus.

  2. 2.

    https://github.com/AdeelAslamUnimore/StreamInequalityJoinSTA.

  3. 3.

    https://www.nature.com/articles/sdata201848.

References

  1. Toshniwal, A., et al.: Storm@twitter. In: Proceedings of the International Conference on Management of Data (SIGMOD), pp. 147–156, ACM, Snowbird, Utah, USA (2014)

    Google Scholar 

  2. Liu, X., Buyya, R.: Resource management and scheduling in distributed stream processing systems: a taxonomy, review, and future directions. ACM Comput. Surv. (CSUR) 53(3), 1–41 (2020)

    Article  Google Scholar 

  3. Apache Storm. https://storm.apache.org/. Accessed 4 Jan 2023

  4. Zapridou, E., Mytilinis, I., Ailamaki, A.: Dalton: learned Partitioning for distributed data streams. Proc. VLDB Endowment 16(3), 491–504 (2022)

    Article  Google Scholar 

  5. Nasir, M.A.U., Garg, S., Agrawal, A., Balazinska, M., Howe, B.: When two choices are not enough: balancing at scale in distributed stream processing. In: Proceedings of the International Conference on Data Engineering (ICDE), pp. 589–600, Helsinki, Finland (2016)

    Google Scholar 

  6. Nasir, M.A.U., Garg, S., Agrawal, A., Balazinska, M., Howe, B.: The power of both choices: practical load balancing for distributed stream processing engines. In: Proceedings of the International Conference on Data Engineering (ICDE), pp. 137–148, Seoul, South Korea (2015)

    Google Scholar 

  7. Metwally, A., Agrawal, D., Abbadi, A.E.: An integrated efficient solution for computing frequent and top-k elements in data streams. ACM Trans. Database Syst. (TODS) 31(3), 1095–1133 (2006)

    Article  Google Scholar 

  8. Gedik, B.: Partitioning functions for stateful data parallelism in stream processing. VLDB J. 23(4), 517–539 (2014)

    Article  Google Scholar 

  9. Abdelhamid, A.S., Aref, W.G.: PartLy: learning data partitioning for distributed data stream processing. In: Proceedings of the Third International Workshop on Exploiting Artificial Intelligence Techniques for Data Management, pp. 1–4 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adeel Aslam .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Aslam, A., Simonini, G., Gagliardelli, L., Mozzillo, A., Bergamaschi, S. (2023). HKS: Efficient Data Partitioning for Stateful Streaming. In: Wrembel, R., Gamper, J., Kotsis, G., Tjoa, A.M., Khalil, I. (eds) Big Data Analytics and Knowledge Discovery. DaWaK 2023. Lecture Notes in Computer Science, vol 14148. Springer, Cham. https://doi.org/10.1007/978-3-031-39831-5_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-39831-5_35

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-39830-8

  • Online ISBN: 978-3-031-39831-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics