Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dgraph
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
dgraph
Commits
e25be7e1
Commit
e25be7e1
authored
9 years ago
by
Manish R Jain
Browse files
Options
Downloads
Patches
Plain Diff
notes about the docs
parent
e356b1f4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/design.md
+2
-0
2 additions, 0 deletions
docs/design.md
docs/example.md
+1
-1
1 addition, 1 deletion
docs/example.md
docs/mvp.md
+8
-1
8 additions, 1 deletion
docs/mvp.md
with
11 additions
and
2 deletions
docs/design.md
+
2
−
0
View file @
e25be7e1
## Overview
**This document is out of date, and probably inconsistent. Current focus is on MVP, which has [it's own doc](mvp.md).**
Dgraph is a distributed graph serving system, meant to be deployed in production,
and tackle user queries in real time. The aim of the system is to run complicated
joins by minimizing network calls required, and hence to keep end-to-end latency
...
...
This diff is collapsed.
Click to expand it.
docs/example.md
+
1
−
1
View file @
e25be7e1
...
...
@@ -58,5 +58,5 @@ It can be split sharded to fit on multiple machines,
just like Bigtable sharding works. This would mean a few additional RPCs, but
still no where near as many as would be required by existing datastores.
This system would allow
infinite
scalability, and yet production level latencies,
This system would allow
vast
scalability, and yet production level latencies,
to support running complicated queries requiring deep joins.
This diff is collapsed.
Click to expand it.
docs/mvp.md
+
8
−
1
View file @
e25be7e1
...
...
@@ -36,7 +36,8 @@ Had considered Cap'n Proto before, but Flatbuffers team provides better Go suppo
-
For this version, stick to doing everything on a single server. Possibly still
using TCP layer, to avoid complexities later.
-
Possibly use a simple go mutex library for txn locking.
-
Use UUID as entity id.
-
Use uint64 as entity id.
-
Support
[
GraphQL
](
https://facebook.github.io/graphql/
)
: Facebook's new Graph Query Language.
-
Provide sorting in this version.
## Concepts / Technologies Skipped
...
...
@@ -82,6 +83,12 @@ Replica | Replica is defined as a non-leading copy of the shard after RAFT elect
-
One mutex lock per shard.
-
One single server, serving all shards.
## Posting List
-
TODO: Write about how posting list reads and updates work. Possibly in another doc.
## GraphQL
-
TODO: Write about what features are supported in GraphQL. Possibly in another doc.
## Write
-
Convert the query into individual instructions with posting lists.
-
Acquire write locks over all the posting lists.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment