Skip to main content

Real-Time and Distributed Anomalies Detection Architecture and Implementation with Structured Streaming

  • Conference paper
  • First Online:
Recent Developments in Intelligent Computing, Communication and Devices

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 752))

  • 1175 Accesses

Abstract

Streaming data also known as unbounded data are increasingly common in the big data era. Modern business collects massive amount of data that are never ending. Hence, there is an increasing need for continuous applications that can process streaming data from massive data ingestion pipelines. However, the majority of streaming system in existence remains relatively immature compare to batch process system, for it can be of great challenge for developers to overcome many obstacles, including: reliability, correctness guarantees, and handling out of order data. Fortunately, the latest Spark Structured Streaming provides the ability to tackle these obstacles. In this paper, we design an architecture that is build on top of Spark Structured Streaming to implement a big data processing system that can provide fast, scalable, fault-tolerant ability to process massive unbounded data.

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
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Similar content being viewed by others

References

  1. J. Ekanayake, S. Pallickara, and G. Fox, “MapReduce for data intensive scientific analyses,” in Proceedings of the IEEE International Conference on eScience (eScience ’08), 2008, pp. 277–284.

    Google Scholar 

  2. A. Matsunaga, M. Tsugawa, and J. Fortes, “CloudBLAST: Combining MapReduce and virtualization on distributed resources for bioinformatics applications,” in Proceedings of the IEEE International Conference on eScience (eScience ’08), 2008, pp. 222–229.

    Google Scholar 

  3. Apache. Apache Hadoop. http://hadoop.apache.org, 2012.

  4. Apache. Apache Storm. http://storm.apache.org, 2013.

  5. Apache. Apache Flink. http://flink.apache.org/, 2014.

  6. Apache. Apache Samza. http://samza.apache.org, 2014.

  7. Google. Dataflow SDK. GoogleCloudPlatform/DataflowJavaSDK, 2015.

    Google Scholar 

  8. Google. Google Cloud Dataflow. https://cloud.google.com/dataflow/, 2015.

  9. Apache. Apache Spark. http://spark.apache.org, 2013.

  10. R. S. Barga et al. Consistent Streaming Through Time: A Vision for Event Stream Processing. In Proc. of the Third Biennial Conf. on Innovative Data Systems Research (CIDR), pages 363–374, 2007.

    Google Scholar 

  11. Botan et al. SECRET: A Model for Analysis of the Execution Semantics of Stream Processing Systems. Proc. VLDB Endow., 3(1–2):232–243, Sept. 2010.

    Google Scholar 

  12. Apache. StructuredStreaming, http://spark.apache.org/docs/latest/structured-streaming-programming-guide.html.

  13. J. E. Gonzalez, R. S. Xin, A. Dave, D. Crankshaw, M. J. Franklin, and I. Stoica, “GraphX: Graph processing in a distributed dataflow framework,” in Proceedings of the USENIX Symposium on Operating Systems Design and Implementation (OSDI ’14), 2014.

    Google Scholar 

  14. M. Zaharia, M. Chowdhury, T. Das, A. Dave, J. Ma, M. McCauley, M. Franklin, S. Shenker, and I. Stoica, “Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing,” in Proceedings of the USENIX Conference on Networked Systems Design and Implementation (NSDI ’12). USENIX Association, 2012, pp. 2–2.

    Google Scholar 

  15. M. Zaharia et al. Discretized Streams: Fault-Tolerant Streaming Computation at Scale. In Proc. of the 24th ACM Symp. on Operating Systems Principles, 2013.

    Google Scholar 

  16. Credit card transaction data set. https://www.kaggle.com/dalpozz/creditcardfraud, 2013.

Download references

Acknowledgements

Here and now, we would like to extend my sincere thanks to all those who have helped me make this paper possible and better. Thanks to the colleges and leaders who have taught me over the past years of work and study. We also wish to organize the impressive and tiresome efforts of everyone who make contribution and help to bring this paper to life.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shenghua Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xiao, C., Zhang, S., Zeng, Q., Cao, X. (2019). Real-Time and Distributed Anomalies Detection Architecture and Implementation with Structured Streaming. In: Patnaik, S., Jain, V. (eds) Recent Developments in Intelligent Computing, Communication and Devices. Advances in Intelligent Systems and Computing, vol 752. Springer, Singapore. https://doi.org/10.1007/978-981-10-8944-2_112

Download citation

Publish with us

Policies and ethics