Pick of the Week at Nebula Graph - Nebula Graph Studio V1.2.1-beta Has Been Released
Normally the weekly issue covers Nebula Graph Updates and Community Q&As. If something major happens, it will also be covered in the additional Events of the Week section.
The 45th Friday of 2020 is passing soon. Let’s see what’s new with Graph Databases and Nebula Graph.
Events of the week
This release provides more data types and enhances the expression ability of nGQL. Nebula Graph 2.x will gradually become openCypher compatible.
Nebula Graph remains unchanged in the November ranking, but the score is getting pretty close to the previous two databases.
Nebula Graph Updates
- Now you can import edge types and use aliases to specify edges with the Open in Explore function.
- Studio can now visualize the query results of
This week’s topic is from community user @85278161 about using Nebula Graph as the independent database of an online B2C mall.
Question: Online B2C malls use ACID databases such as MySQL and TiDB for the recommendation system, but multi-table queries can be very slow.
- Can we use Nebula Graph independently as the database of an online B2C mall?
- How can we use Nebula Graph together with TiDB or MySQL, while Nebula Graph functions as a database for querying relationship graphs?
Nebula Graph: Using relational databases and graph databases together in recommendation systems is a common technology stack. For example, you can link order numbers and phone numbers with edges in Nebula Graph and make associated queries. Whenever an order is stored in the relational database, the related vertices and edges in Nebula Graph are updated accordingly.
As for the details, it depends on what you want to recommend. Data modeling is always the key.
Follow-up question: Thank you. How to synchronize operations such as insertion, modification, and deletion from relational databases to Nebula Graph? Shall we perform the operations on both databases simultaneously from the server, or use some functions of the relational databases, such as logs or subscription in MySQL?
Nebula Graph: From the system design perspective, using subscriptions are certainly better than inserting data directly in the business layer. The former method decouples the modules from each other more, and the system can be more stable. Even if the recommendation has a problem, it will not affect the transaction. This may slightly affect the real-time performance of the data recommendation, but it should be acceptable.
Recommendations for You
Benchmarking the Mainstream Open Source Distributed Graph Databases The Meituan team must select a graph database solution that can meet the business requirements and to use the solution as the basis of Meituan’s graph storage and graph learning platform. In this post, the Meituan NLP team evaluated several mainstream graph databases on data import, data writing, and data query.
Previous Pick of the Week
- Pick of the Week at Nebula Graph - vesoft Inc. named one of the 20 Fastest-Growing OSS Startups
- Pick of the Week at Nebula Graph - Configuration recommendations for data import
Like what we do ? Star us on GitHub. https://github.com/vesoft-inc/nebula