O'Reilly logo

Storm Blueprints: Patterns for Distributed Real-time Computation by Brian O'Neill, P. Taylor Goetz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A brief introduction to graph databases

A graph is a network of objects (vertices) with directed connections (edges) between them. The following diagram illustrates a simple social graph similar to what one might find on Twitter:

A brief introduction to graph databases

In this example, users are represented by vertices (nodes), and relationships are expressed as edges (connection). Note that the edges in the graph are directed, allowing an additional degree of expressiveness. This allows, for example, to express the fact that Bob and Alice follow one another, and Alice follows Ted but Ted does not follow Alice. This relationship would be more cumbersome to model without directed edges. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required