Skip to content

Tutorials for Graph

These tutorials walk you through common Aerospike Graph development scenarios. Several tutorials use sample apps from the Aerospike Graph GitHub repository.

Introduction

The Aerospike Graph system is an application layer, called the Aerospike Graph Service (AGS), that operates directly on top of the Aerospike Database. AGS functions as a transparent middle layer, abstracting complex database operations so users can concentrate solely on data modeling, large-scale data loading, and executing millions of high-speed graph queries.

How graph data modeling fits in

Gdotv graph data visualization featuring movie vertices and user rating edges

Graph data modeling represents how data relates to other data. Use cases such as fraud detection, recommendation systems, or social networks benefit from explicitly modeling relationships.

Aerospike Graph uses the Property Graph Model with Gremlin as the traversal language.

Property Graph Model at a glance

Diagram of property graph model with phone and userId as vertices
  • Vertices (nodes) represent entities such as people, devices, or locations.
  • Properties describe those entities, for example, a userId might include name, email, or billing ZIP.
  • Edges connect vertices and define relationships. Edges are directed from one vertex to another, but you can traverse them in either direction.

Available tutorials

With the core model in mind, you can dive into the tutorials below.

Getting started tutorials

Start with one of these introductory tutorials to learn the fundamentals of Aerospike Graph:

Both tutorials create the same data model (users, accounts, and transactions) and cover the same query patterns. Choose the language you’re most comfortable with.

Follow-up tutorials

After completing either the Java or Python basics tutorial, continue with:

Deployment and security tutorials

Ready to deploy to production? These tutorials cover advanced topics:

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?