Graph Database Log and Cache Replication for Quorum Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As graph databases grow in size, managing storage and performing queries efficiently becomes challenging due to the increasing number of vertices and edges, requiring distributed storage solutions that can utilize local and cloud resources, and existing systems face issues with data management and query efficiency.

Innovation Solution

A computing environment with replicas maintains logs and cache storage, where replicas determine a quorum for updates, generate log entries, and synchronize with a secondary data store to ensure high availability and efficient query response, using local snapshots and a remote data store to maintain the complete graph state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If graph databases are stored in distributed storage systems to handle large sizes, then storage capacity and availability are improved, but system complexity and difficulty in managing data consistency increase

Engineering Contradiction:
Improvedata availabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system divides the graph database into multiple partitions distributed across different storage nodes. Each partition can be independently managed and accessed, allowing the system to handle large-scale data while maintaining operational simplicity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A coordination service acts as an intermediary between clients and distributed storage nodes, managing data consistency, handling failover, and coordinating updates across replicas. This abstracts the complexity of distributed system management from individual components.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If multiple replicas maintain logs for high availability, then fault tolerance is improved, but storage requirements and synchronization overhead increase

Engineering Contradiction:
Improvefault toleranceVSAvoidstorage requirements
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

Multiple replicas share a common log structure and coordinate through centralized log management. Instead of each replica maintaining completely independent logs, the system merges log coordination through a primary replica that sequences updates, reducing redundant storage while maintaining fault tolerance.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system creates replicated copies of the graph database partitions across multiple nodes. Each replica maintains a copy of the data and log entries, enabling fault tolerance through redundancy while using efficient copy mechanisms to minimize synchronization overhead.

Inventive Principle:
Principle #26Copying

3Speed

If local caching is implemented to optimize query performance, then query speed is improved, but data consistency and cache management complexity increase

Engineering Contradiction:
Improvequery speedVSAvoidcache management complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system implements local caching at each replica with cache policies optimized for local query patterns. Each node maintains a cache tailored to its specific workload and data partition, improving query performance while keeping cache management localized and simpler rather than requiring centralized cache coordination.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

Cache entries are invalidated or refreshed periodically based on update events from the distributed log. When the primary replica sequences an update, it triggers periodic cache invalidation or refresh operations at replicas, maintaining consistency without requiring continuous active management.

Inventive Principle:
Principle #19Periodic action

4Stability of the object's composition

If quorum-based update verification is implemented, then data consistency is improved, but update processing time and network communication overhead increase

Engineering Contradiction:
Improvedata consistencyVSAvoidupdate processing time
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The system pre-establishes quorum thresholds and replica availability configurations before updates occur. Quorum requirements are configured in advance based on the number of replicas and failure scenarios, allowing rapid validation during updates without dynamic calculation or complex decision-making at update time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12468606B2Management of logs and cache for a graph database
Publication Date: 2025.11.11 TIGERGRAPH INC
  • US12468606B2 patent drawing
  • US12468606B2 patent drawing
  • US12468606B2 patent drawing

AI summary

Systems, methods, and software described herein manage logs and cache storage for a graph database. In one implementation, a replica in a cluster of replicas, identifies an update associated with a graph database. In response to the update, the first replica determines whether a quorum exists for the update using one or more additional replicas and, when a quorum exists, generates an entry in a log based on the update.