Skip to main content
  • Book
  • © 2016

Pro Spark Streaming

The Zen of Real-Time Analytics Using Apache Spark

Apress

Authors:

  • Highlights the differences between traditional stream processing and the Spark Streaming micro-batch model
  • Targets real-world applications from multiple industry verticals
  • Provides an introduction to other popular Big Data solutions, such as Apache Kafka

Buy it now

Buying options

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

Other ways to access

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

Table of contents (10 chapters)

  1. Front Matter

    Pages i-xix
  2. Introduction to Spark

    • Zubair Nabi
    Pages 9-27
  3. DStreams: Real-Time RDDs

    • Zubair Nabi
    Pages 29-50
  4. The Art of Side Effects

    • Zubair Nabi
    Pages 99-123
  5. Getting Ready for Prime Time

    • Zubair Nabi
    Pages 125-149
  6. Real-Time ETL and Analytics Magic

    • Zubair Nabi
    Pages 151-175
  7. Machine Learning at Scale

    • Zubair Nabi
    Pages 177-198
  8. Of Clouds, Lambdas, and Pythons

    • Zubair Nabi
    Pages 199-225
  9. Back Matter

    Pages 227-230

About this book

Learn the right cutting-edge skills and knowledge to leverage Spark Streaming to implement a wide array of real-time, streaming applications. This book 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 Pro Spark Streaming 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 Streamingwill act as the bible of Spark Streaming.

What You'll Learn

  • Discover Spark Streaming application development and best practices
  • Work with the low-level details of discretized streams
  • Optimize production-grade deployments of Spark Streaming via configuration recipes and instrumentation using Graphite, collectd, and Nagios
  • Ingest data from disparate sources including MQTT, Flume, Kafka, Twitter, and a custom HTTP receiver
  • Integrate and couple with HBase, Cassandra, and Redis
  • Take advantage of design patterns for side-effects and maintaining state across the Spark Streaming micro-batch model
  • Implement real-time and scalable ETL using data frames, SparkSQL, Hive, and SparkR
  • Use streaming machine learning, predictive analytics, and recommendations
  • Mesh batch processing with stream processing via the Lambda architecture
Who This Book Is For

Data scientists, big data experts, BI analysts, and data architects.


Authors and Affiliations

  • Lahore, Pakistan

    Zubair Nabi

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. Qubit 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.

Bibliographic Information

Buy it now

Buying options

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

Other ways to access