Graph Databases in Action
Dave Bechberger
  • MEAP began January 2019
  • Publication in Fall 2019 (estimated)
  • ISBN 9781617296376
  • 375 pages (estimated)
  • printed in black & white

A very nice and pragmatic introduction to the amazing world of Graph Databases.

Alain Couniot
Relationships in data often look far more like a web than an orderly set of rows and columns. Graph databases shine when it comes to revealing valuable insights within complex, interconnected data such as demographics, financial records, or computer networks. In Graph Databases in Action, expert Dave Bechberger illuminates the design and implementation of graph databases in real-world applications. You’ll learn how to choose the right database solutions for your tasks, and how to use your new knowledge to build agile, flexible, and high-performing graph-powered applications!
Table of Contents detailed table of contents

Part 1: Getting Started with Graph Databases

1 What is a Graph and What Can it Do?

1.1 What are Graph Databases?

1.1.1 What is a Graph and Why Use one?

1.1.2 Why Can’t I use SQL?

1.2 Graph Databases on the Database Spectrum

1.3 "Just Enough" Graph Theory

1.3.1 Euler and Graphs

1.3.2 Basic Graph Terminology

1.3.3 Basic Graph Types

1.4 Summary

2 Do I Have a Graph Problem?

2.1 Is my Problem a Graph Problem?

2.1.1 Explore the Questions

2.1.2 I’m still confused, is this a graph problem?

2.2 An Introduction to the Graph Ecosystem

2.2.1 Database versus Frameworks

2.2.2 Graph Frameworks

2.2.3 Graph Databases - RDF and Property Model

2.3 A Brief Introduction to Graph Query Languages

2.3.1 SPARQL

2.3.2 Cypher/OpenCypher

2.3.3 Apache TinkerPop Gremlin

2.3.4 GraphQL

2.3.5 SQL Derivatives

2.4 Technologies used in this Book

2.5 Summary

3 Graph Data Modeling

3.1 Understand the problem

3.1.1 Domain and Scope

3.1.2 Entitles and Relationships

3.1.3 Functionality

3.2 Developing your "Whiteboard" Model

3.3 Getting Started with your Friends

3.3.1 Translate Entities to Vertices

3.3.2 Translate Relationships to Edges

3.3.3 Find and Assign Properties

3.4 Check your Model

3.5 Summary

4 Data modeling in practice

Part 2: Building on Graph Databases

5 Querying Graph databases

6 Developing our application in Java

7 Beyond basic querying

Part 2: Moving Beyond the Basics

8 Performance tuning our application

9 Graph pitfalls and anti-patterns

10 Graph analytics for non-Graph people

Appendixes

Appendix A: Apache TinkerPop installtion and overview

Appendix B: Gremlin steps cheatsheet

Appendix C: An overview of property model graph databases and tools

About the Technology

Graph databases store interconnected data in a more natural form, making them superior tools for representing data with rich relationships. Unlike in relational database management systems (RDBMS), where a more rigid view of data connections results in the loss of valuable insights, in graph databases, data connections are first priority. Graph databases store data and its connections, unlocking the potential to store, process, and query with incredible efficiency. With giants like NASA, eBay, Walmart, and Fortune 500 financial service providers leveraging this hot technology, graph database skills are priceless! Cloud databases like AWS Neptune and Microsoft CosmosDB now add to the growing list of graph databases powered by the Gremlin graph traversal language presented in this book.

About the book

Graph Databases in Action teaches you everything you need to know to begin building and running applications powered by graph databases. Right off the bat, seasoned graph database expert and author Dave Bechberger introduces you to just enough graph theory, the graph database ecosystem, and a variety of datastores. You’ll also explore modelling basics in action with real-world examples, then go hands-on with querying, coding traversals, parsing results, and other essential tasks as you build your own graph-backed social network app complete with a recommendation engine!

With valuable firsthand experience under your belt, you’re ready for advanced concepts including query tuning, data model tuning, evolving your graphs, and pitfalls and anti-patterns like supernodes, hidden entities, and anemic edges. All examples are presented in the open source Apache TinkerPop framework and the Gremlin language, and almost all concepts and constructs are compatible with Cypher/openCypher databases such as Neo4j. With this comprehensive guide, you’ll be building graph-powered applications that dramatically increase the value of data—as well as your professional value to the companies savvy enough to use them!

What's inside

  • Graph database fundamentals
  • An overview of the graph database ecosystem
  • Relational vs. graph database modelling
  • Querying graphs using Gremlin
  • Real-world common graph use cases
  • Basic graph algorithms
  • A hands-on graph-backed application project
  • Performance tuning
  • Pitfalls and anti-patterns
  • Graph analytics

About the reader

For readers with basic Java and application development skills building in RDBMS systems such as Oracle, SQL Server, MySQL, and Postgres. No experience with graph databases is required.

About the author

Dave Bechberger has extensive experience using graph databases as a product architect and a consultant. He’s spent his career leveraging cutting-edge technologies to build software in complex data domains such as bioinformatics, oil and gas, and supply chain management. He’s an active member of the graph community and has presented on a wide variety of graph-related topics at national and international conferences.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks