by w3clan · 6y ago · 0 comments
- geospatial features
- good speed as it is based on badgerdb key value database and ristello cache library.
- http library and other features
One of the advantage I saw in nebula graph is security role based access which is not available in dgraph until today.
I am very curious about benchmark between nebula graph and dgraph.
Also what is storage system used in nebula graph.
As to the storage system, Nebula Graph is based on multi-group raft and RocksDB.
You may take a look at this article about the design of our storage engine: https://github.com/vesoft-inc/nebula/blob/master/docs/manual...
In 2020 we will be working on more plugins. You may stay tuned if that interests you. :)
Does nebula also store data multiple time for multiple index?
Nebula doesn't store data multiple times for index.
And here's how the indexing works in Nebula Graph:
You are allowed to create multiple indexes for one tag or edge type in Nebula Graph. For example, if a vertex has 5 properties attached to it, then you can create one index for each if it's necessary for you. Both indexes and the raw data are stored in the same partition with their own data structure for quick query statement scanning. Whenever there are "where" clause/syntax in the queries, the index optimizer decides which index file should be traversed.
We (I work at Dgraph) have data redundancy when you have multiple replicas for a given group - but that's an optional feature.
Thanks!