Have a personal or library account? Click to login
Apache Spark Graph Processing Cover

Apache Spark Graph Processing

Build, process and analyze large-scale graph data effectively with Spark

Paid access
|Sep 2025
Product purchase options

Build, process, and analyze large-scale graphs with Spark

Key Features

    Book Description

    Apache Spark is the next standard of open-source cluster-computing engine for processing big data. Many practical computing problems concern large graphs, like the Web graph and various social networks. The scale of these graphs - in some cases billions of vertices, trillions of edges - poses challenges to their efficient processing. Apache Spark GraphX API combines the advantages of both data-parallel and graph-parallel systems by efficiently expressing graph computation within the Spark data-parallel framework.
    This book will teach the user to do graphical programming in Apache Spark, apart from an explanation of the entire process of graphical data analysis. You will journey through the creation of graphs, its uses, its exploration and analysis and finally will also cover the conversion of graph elements into graph structures.
    This book begins with an introduction of the Spark system, its libraries and the Scala Build Tool. Using a hands-on approach, this book will quickly teach you how to install and leverage Spark interactively on the command line and in a standalone Scala program. Then, it presents all the methods for building Spark graphs using illustrative network datasets. Next, it will walk you through the process of exploring, visualizing and analyzing different network characteristics. This book will also teach you how to transform raw datasets into a usable form. In addition, you will learn powerful operations that can be used to transform graph elements and graph structures. Furthermore, this book also teaches how to create custom graph operations that are tailored for specific needs with efficiency in mind. The later chapters of this book cover more advanced topics such as clustering graphs, implementing graph-parallel iterative algorithms and learning methods from graph data.

    What you will learn

    • Write, build and deploy Spark applications with the Scala Build Tool.
    • Build and analyze largescale network datasets
    • Analyze and transform graphs using RDD and graphspecific operations
    • Implement new custom graph operations tailored to specific needs.
    • Develop iterative and efficient graph algorithms using message aggregation and Pregel abstraction
    • Extract subgraphs and use it to discover common clusters
    • Analyze graph data and solve various data science problems using realworld datasets.

    Who this book is for

    This book is for data scientists and big data developers who want to learn the processing and analyzing graph datasets at scale. Basic programming experience with Scala is assumed. Basic knowledge of Spark is assumed.

    Table of Contents

    1. Getting started with Spark and GraphX
    2. Building and exploring graphs
    3. Analyzing and querying graphs
    4. Transforming and shaping up graphs to your needs
    5. Creating custom graph operations
    6. Finding clusters and extracting subgraphs
    7. Implementing iterative graph-parallel computations
    PDF ISBN: 978-1-78439-895-8
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 148