What is Graph Compute
Graph Compute is a high-performance, distributed graph computing product from Alibaba Cloud. It offers a one-stop graph technology service for developers, handling data volumes in the trillions. Graph Compute supports the storage, query, and computation of complex graph relationship data and integrates efficiently with graph algorithms and models. It is widely used in scenarios such as search and recommendation, advertising, real-time risk control, knowledge graphs, and social networks.
Prerequisites
Before reading this topic, you should be familiar with the following concepts:
Why choose Graph Compute
Simplify complex relationships
The KKV model efficiently represents relationships in a graph. It simplifies common 2-degree queries into 1-degree queries, which makes query expressions more concise.
Sourced from open source, better than open source
Graph Compute supports the open source Gremlin syntax. Its key operators are performance-optimized to improve computational efficiency.
Handle massive data with flexible scaling
The distributed cluster architecture enables elastic O&M, allowing you to scale services and data storage capacity in minutes.
Deep integration with the big data ecosystem
Graph Compute is deeply integrated with the Alibaba Cloud big data and AI product ecosystem. This provides scenario-based graph computing solutions that use MaxCompute, Flink, and Graph Compute.
Graph Compute features
High performance
Graph Compute features low query latency and fast data import. Query latency is as low as 2 ms for data sets with hundreds of billions of entries, and data can be loaded at a rate of up to 5 million documents per second.
Low cost
Graph Compute includes extensions for inverted index queries and vector computing. For the same scenario, the engine's resource overhead is 50% of that of competing solutions.
High availability
The offline system supports multi-version backups and enables data restoration in minutes. This provides strong disaster recovery and data rollback capabilities.
Million-level TPS
Graph Compute uses an asynchronous update architecture. A single node can process millions of Transactions Per Second (TPS), which ensures high data timeliness.
Fully managed
Graph Compute provides a graphical console to improve data development efficiency. Its fully managed data link requires no O&M investment from your business.
Advantages of Graph Compute over open source alternatives
Question 1: Why is the query performance much better than open source alternatives?
The iGraph kernel engine of Graph Compute uses a proprietary, coroutine-based asynchronous framework for concurrent retrieval. This framework complements partitioned concurrent queries by transforming synchronous serial disk access into asynchronous parallel access, which greatly improves query performance. The engine also pushes down some computations to ensure high performance for complex calculations.
It uses io_uring for disk-based query access scenarios. This ensures stable operation under high I/O operations per second (IOPS).
The iGraph kernel engine has a proprietary tiered cache that is optimized for hot data.
Question 2: How is the big data import capability improved compared to open source alternatives?
Graph Compute has a proprietary distributed index building service. This service provides a unified entry point for offline full, incremental, and real-time data. It uses a combination of offline full, batch incremental, and online real-time indexes to prevent excessive expansion of the online index's Log-Structured Merge-tree (LSM tree).
Real-time data updates support eventual consistency. Compared to strong consistency writes in open source solutions, this provides a performance advantage of one to two orders of magnitude.
Question 3: Why is the overall cost of Graph Compute lower than open source alternatives?
The architecture is designed for cost-effectiveness and high performance to ensure high resource utilization.
A comprehensive automated O&M system significantly reduces O&M costs.
It natively supports multiple index types, such as key-value (KV), key-key-value (KKV), inverted, and vector. This eliminates the need to provision additional services for these capabilities.
Question 4: Why is Graph Compute more stable than open source alternatives?
The iGraph kernel engine has undergone years of technical optimization to ensure stability during abnormal operating conditions and sales promotions. It works in conjunction with a suite of automated O&M systems, such as high availability (HA), automatic load balancing, automatic scaling, and automatic degradation, to dynamically balance traffic and enable rapid recovery.