Pro Spark Streaming: The Zen of Real-Time Analytics Using Apache Spark

  • 4h 16m
  • Zubair Nabi
  • Apress
  • 2016

Learn the right cutting-edge skills and knowledge to leverage Spark Streaming to implement a wide array of real-time, streaming applications. Pro Spark Streaming walks you through end-to-end real-time application development using real-world applications, data, and code. Taking an application-first approach, each chapter introduces use cases from a specific industry and uses publicly available datasets from that domain to unravel the intricacies of production-grade design and implementation. The domains covered in the book include social media, the sharing economy, finance, online advertising, telecommunication, and IoT.

In the last few years, Spark has become synonymous with big data processing. DStreams enhance the underlying Spark processing engine to support streaming analysis with a novel micro-batch processing model. Pro Spark Streaming by Zubair Nabi will enable you to become a specialist of latency sensitive applications by leveraging the key features of DStreams, micro-batch processing, and functional programming. To this end, the book includes ready-to-deploy examples and actual code. Pro Spark Streaming will act as the bible of Spark Streaming.

What You'll Learn:

  • Spark Streaming application development and best practices
  • Low-level details of discretized streams
  • The application and vitality of streaming analytics to a number of industries and domains
  • Optimization of production-grade deployments of Spark Streaming via configuration recipes and instrumentation using Graphite, collectd, and Nagios
  • Ingestion of data from disparate sources including MQTT, Flume, Kafka, Twitter, and a custom HTTP receiver
  • Integration and coupling with HBase, Cassandra, and Redis
  • Design patterns for side-effects and maintaining state across the Spark Streaming micro-batch model
  • Real-time and scalable ETL using data frames, SparkSQL, Hive, and SparkR
  • Streaming machine learning, predictive analytics, and recommendations
  • Meshing batch processing with stream processing via the Lambda architecture

About the Author

Zubair Nabi is one of the very few computer scientists who have solved Big Data problems in all three domains: academia, research, and industry. He currently works at Qubit, a London-based start up backed by Goldman Sachs, Accel Partners, Salesforce Ventures, and Balderton Capital, which helps retailers understand their customers and provide personalized customer experience, and which has a rapidly growing client base that includes Staples, Emirates, Thomas Cook, and Topshop. Prior to Qubit, he was a researcher at IBM Research, where he worked at the intersection of Big Data systems and analytics to solve real-world problems in the telecommunication, electricity, and urban dynamics space.

Zubair’s work has been featured in MIT Technology Review, SciDev, CNET, and Asian Scientist, and on Swedish National Radio, among others. He has authored more than 20 research papers, published by some of the top publication venues in computer science including USENIX Middleware, ECML PKDD, and IEEE BigData; and he also has a number of patents to his credit.

Zubair has an MPhil in computer science with distinction from Cambridge.

In this Book

  • Introduction
  • The Hitchhiker's Guide to Big Data
  • Introduction to Spark
  • DStreams—Real-Time RDDs
  • High-Velocity Streams—Parallelism and other Stories
  • Real-Time Route 66—Linking External Data Sources
  • The Art of Side Effects
  • Getting Ready for Prime Time
  • Real-Time ETL and Analytics Magic
  • Machine Learning at Scale
  • Of Clouds, Lambdas, and Pythons