# US 2025/0378115 A1 · Modeling graphs on distributed storage

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0378115 A1
- Document ID: US20250378115A1
- Status: Published application
- Kind: A1
- Application number: 19/080,943
- Filed: 2025-03-17
- Published: 2025-12-11
- Earliest claimed: 2023-12-05
- Inventors: GRANT HAYWOOD
- Web page: https://patentgrep.com/patent/US20250378115A1

## CPC

- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one aspect, a method for modeling graphs on distributed storage, comprising: receiving graph data including vertices, edges, and properties; mapping each vertex to a vertex record in a distributed storage system; mapping each edge to an edge record in the distributed storage system; mapping each property to a property record in the distributed storage system; determining, for each vertex, whether a number of incident edges exceeds a maximum record size threshold; storing pointers to incident edge records directly within vertex records when the number of incident edges does not exceed the maximum record size threshold; utilizing an adjacency index to lookup incident edge records when the number of incident edges exceeds the maximum record size threshold; and executing graph traversal operations that navigate from vertex to vertex by accessing the appropriate edge records through either the stored pointers or the adjacency index.

## Claims

### Claim 1

A method for modeling graphs on distributed storage, comprising:
receiving graph data including vertices, edges, and properties;
mapping each vertex to a vertex record in a distributed storage system; mapping each edge to an edge record in the distributed storage system;
mapping each property to a property record in the distributed storage system;
determining, for each vertex, whether a number of incident edges exceeds a maximum record size threshold;
storing pointers to incident edge records directly within vertex records when the number of incident edges does not exceed the maximum record size threshold;
utilizing an adjacency index to look up incident edge records when the number of incident edges exceeds the maximum record size threshold; and
executing graph traversal operations that navigate from vertex to vertex by accessing the appropriate edge records through either the stored pointers or the adjacency index.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
collocating property records with their associated vertex or edge records to improve data locality during traversal operations.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
implementing a multi-level caching system to store frequently accessed vertex and edge records to reduce the number of read operations to the distributed storage system.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
packing partial edge information into vertex records to the extent available space permits within the maximum record size threshold.

### Claim 5 (depends on 1)

The method of claim 1, wherein executing graph traversal operations further comprises:
creating execution pointers at starting elements;
moving the execution pointers to adjacent elements based on traversal logic;
forking execution pointers when multiple adjacent elements match traversal criteria;
and aggregating results from multiple execution pointers to produce a final query result.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
performing batch operations against the distributed storage system to retrieve groups of related elements required for query execution.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
implementing a tree-structured record pattern for vertices with high edge counts, comprising a primary vertex record and multiple leaf records containing additional edge pointers.

### Claim 8 (depends on 1)

The method of claim 1, wherein each edge record contains pointers to exactly two vertex records, and each vertex record contains pointers to zero or more edge records based on the maximum record size threshold.

### Claim 9 (depends on 1)

The method of claim 1, wherein executing graph traversal operations includes utilizing a graph traversal runtime compatible with the TinkerPop framework and Gremlin query language.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
dynamically selecting between direct pointer access, adjacency index lookup, or edge set scanning based on vertex degree and system configuration to optimize traversal performance.
