Skip to Content
Graph Algorithms
book

Graph Algorithms

by Mark Needham, Amy E. Hodler
May 2019
Intermediate to advanced
265 pages
5h 58m
English
O'Reilly Media, Inc.
Book available
Content preview from Graph Algorithms

Chapter 3. Graph Platforms and Processing

In this chapter, we’ll quickly cover different methods for graph processing and the most common platform approaches. We’ll look more closely at the two platforms used in this book, Apache Spark and Neo4j, and when they may be appropriate for different requirements. Platform installation guidelines are included to prepare you for the next several chapters.

Graph Platform and Processing Considerations

Graph analytical processing has unique qualities such as computation that is structure-driven, globally focused, and difficult to parse. In this section we’ll look at the general considerations for graph platforms and processing.

Platform Considerations

There’s debate as to whether it’s better to scale up or scale out graph processing. Should you use powerful multicore, large-memory machines and focus on efficient data structures and multithreaded algorithms? Or are investments in distributed processing frameworks and related algorithms worthwhile?

A useful evaluation approach is the Configuration that Outperforms a Single Thread (COST), as described in the research paper “Scalability! But at What COST?” by F. McSherry, M. Isard, and D. Murray. COST provides us with a way to compare a system’s scalability with the overhead the system introduces. The core concept is that a well-configured system using an optimized algorithm and data structure can outperform current general-purpose scale-out solutions. It’s a method for measuring performance ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Algorithms and Data Structures

Advanced Algorithms and Data Structures

Marcello La Rocca
Grokking Algorithms

Grokking Algorithms

Aditya Bhargava
Data Structures & Algorithms in Python

Data Structures & Algorithms in Python

John Canning, Alan Broder, Robert Lafore
Algorithms: 24-part Lecture Series

Algorithms: 24-part Lecture Series

Robert Sedgewick, Kevin Wayne

Publisher Resources

ISBN: 9781492047674Errata PageSupplemental Content