[Q&A] ☁ Graph Engine Service

Muhammet Berke OZTURK
Huawei Developers
Published in
6 min readOct 23, 2023
Cover photo

Introduction

Hello everyone, we are here to answer questions either can be or have already been asked about Graph Engine Service. Please let us know if you need further more questions about the Service so we can update here and share more knowledge with others! Let’s begin.

What is Graph Engine Service(GES)?

Graph Engine Service (GES) is a query and analysis service for multi-relational graph data structures. It is designed for the examination of large amounts of connection data and includes numerous algorithms, visual graph analysis, query/analysis APIs, and graph management tools. GES is compatible with Apache TinkerPop Gremlin 3.4 and can be accessed via Huawei Cloud and HTTPS-based APIs via a web-based administration console. It can handle and analyze graphs with tens of billions of vertices and hundreds of billions of edges effectively.

Application scenarios of GES

There are numerous application scenarios for the Graph Engine Service, including Internet applications such as product and information recommendation. It can recognize anomalous activity and decrease fraud by categorizing users. It can also analyze public opinion and social listening. It is particularly appropriate for scenarios such as Knowledge Graphs, which demand the integration of many types of heterogeneous data and enable bigger graph scales and higher performance. In these cases, GES can help with huge storage, rapid correlation queries, and graph analysis. Finally, Graph Engine Service is appropriate for situations that demand rich relationship data analysis, such as social relationship analysis, marketing and recommendations, public opinion and social listening, information communication, and anti-fraud.

What are the advantages of GES?

  • Scalability: GES can handle and analyze graphs with hundreds of billions of edges and tens of billions of vertices.
  • Multi-relational data analysis: GES is designed for querying and analyzing multi-relational graph data structures, and it includes a plethora of algorithms, visual graph analysis, query and analysis APIs, and graph management features.
  • Graph-based analysis: GES supports graph-based knowledge classification, identification and suggestion of learning paths, and identification of opinion leaders and hot subjects.
  • Real-time analysis: GES can run short correlation queries against a large knowledge base and produce accurate findings in seconds. It also allows for real-time data monitoring in order to find missing people, adjust pipeline pressure, and assess traffic flow around the city.

Which regions are supporting GES?

  • CN North-Beijing4
  • CN North-Ulanqab1
  • CN East-Shanghai1
  • CN South-Guangzhou
  • CN Southwest-Guiyang1
  • CN Hong-Kong
  • AP-Singapore
  • EU-Dublin
  • ME-Abu Dhabi-OP5

Related and integrable services to GES

  • IAM

Identity and Access Management (IAM) authenticates access to GES on Huawei Cloud.

  • VPC

GES uses Virtual Private Cloud (VPC) to provide clusters with network topologies to isolate clusters and control access.

  • OBS

GES stores graph data on Object Storage Service (OBS), satisfying the requirements for secure, reliable, and cost-effective storage.

Billing modes of GES

  • Pay per use (hourly)

You can enable or disable GES in this billing mode as you see fit. You are charged on an hourly basis for the duration of your use. It is appropriate for customers who require preliminary operating testing and Proofs-of-Concept verifications, as well as short-term users.

  • Monthly or yearly prepaid instance billing

You must make a one-time payment in advance when using this billing mode. This provides significant savings over pay-per-use mode, saving you 34% to 47% on costs. It is relevant to consumers who intend to use GES for an extended period of time.

Graph Engine Service workflow

  1. Preparations: Register a HUAWEI CLOUD Account. The account cannot be frozen or in arrears.
  2. Creating a Graph: Create a custom graph and set related parameters.
  3. Importing Graph Data: Import metadata and edge and vertex data to the graph.
  4. Querying and Analyzing the Graph: Use the graph editor to query and analyze graph data.
  5. Managing the Graph: Perform graph management operations, such as starting, stopping, deleting, and upgrading the graph.

Usage types of GES?

  1. API
  2. HUAWEI Cloud Console
  3. SDKs

1. Preparations

You can register and create an account on Huawei Cloud by following this article.

2. Creating a Graph

Creating a Graph(1)
Creating a Graph(2)
Creating a Graph(3)
  1. Setting a Graph Name and Software version: Use the default name. After a graph is created, its name cannot be changed. The software version is the latest by default.
  2. Setting Network Configurations: If your account has VPCs, a VPC will be automatically selected. You can change it as needed. If no VPC is available, you need to create a VPC. After the VPC is created, it will be automatically selected. Same for Subnet.
  3. Setting the Encrypted options
  4. Setting Graph Engine Service configurations
  5. Review it and purchase.

3. Importing Graph Data

  1. Go to the Graph Management page, locate the target graph, and click More > Import in the Operation column.
  2. Click Download behind the Metadata, Edge Data, and Vertex Data to obtain the templates.
  3. Configure the configurations.
Importing Graph data

4. Analyzing the Graph

Go to the Graph Management page, locate the graph you have created, and click Access in the Operation column to open the Graph Editor.

Analyzing the Data

5. Managing the Graph

On the Graph Management page, click next to the graph name to view the graph details.

Managing the Graph (1)

In the graph list, locate the row that contains the graph you want to manage and choose More in the Operation column. You can start, stop, delete, and upgrade the graph and perform other operations.

Managing the Graph (2)

Algorithms

To meet the requirements of various scenarios, GES provides extensive basic graph algorithms, graph analytics algorithms, and graph metrics algorithms. You can check the list of algorithms by clicking This link

Conclusion

In this article, we provided a Q&A session for Graph Engine Service which can analyze graph data and give you the opportunity to query all. Don’t forget to let us know if you have different questions about GES so we can add them here. See you in the next one.

References

--

--