Chapter 13. Case study: real-time dashboard

This chapter covers

  • An example Spark Streaming application
  • A real-time dashboard application example
  • Explanation of the application components
  • Running the application
  • Examining the source code

In this chapter, we’ll show you how to use Spark in a real-life application. For the example application in this chapter, we’ll show you how to build a real-time dashboard (a control panel with monitoring instruments) for viewing statistics calculated from a web server’s access log files. We’ll first explain the main idea behind the application. Then we’ll show you how to run it using shell scripts and a Docker image (which we prepared for you at and how ...

Get Spark in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.