Learn Dgraph in 20 minutes (Graph Database) quick tutorial

preview_player
Показать описание
Lets learn Dgraph a graph database in this video.

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

00:58 - Setup Dgraph
2:39 - How to Query
5:50 - How to update data (Mutation)
6:35 - RDF Syntax
9:42 - Types in Dgraph
12:47 - Recurse function
13:12 - Filters
15:13 - Reverse edges
16:47 - Variables
18:11 - Pagination

#dgraph #graph #database #golang
Рекомендации по теме
Комментарии
Автор

Most companies have ETL pipelines and their analytic teams usually do analysis in a centralized place. For example, we may have many production data in a SQL DB and S3. The analytic team will replicate all data and dump them to a Spark cluster. In short words, they move data to computation instead of computation to data.


In order to use Graph Database for existing large enterprise, they have to rethink the architecture. Mostly 2 points:
1. The graph database can be used as both the production data source and the analytic data source.
2. Data-centric computation: move computation to data instead of data to computation. If we are talking about map-reduce, map should happen at the object store such as S3 and only reduce will happen in a centralized place.


Both are very hard to do because people are stubborn

upevolutionism
Автор

If I were to have a project from scratch, I would love to use Dgraph. But for an existing enterprise, it's hard to sell. The best kind of use case is user behavior analysis. But in most companies, even companies of my size, our analytic team doesn't have engineers, therefore, they may not even understand the beauty of a graph database

upevolutionism
Автор

very helpful video, i am trying to build a recommendation engine. easy to setup thanks.

jpadriano
Автор

Do we need to maintain a cache DB on top of graph DB to return results quickly?

RaviTejagameboy
Автор

good good bro... please make more videos on this database..make a small demo project

harpreetsingh-uded
Автор

I've added own json for mutation to add it but I get an error
```
{
"set": [
{
"name": "Josef",
"age": 18,
"quote": "That's awesome!",
"animals": [
"dog": {"name": "Brownie"},
"cat": {"name": "Uerio"}
]
},
{
"name": "Marie",
"age": 16,
"quote": "I love it"
}
]
}
```

Message: while lexing { "set": [ { "name": "Josef", "age": 18, "quote": "That's awesome!", "animals": [ "dog": {"name": "Brownie"}, "cat": {"name": "Uerio"} ] }, { "name": "Marie", "age": 16, "quote": "I love it" } ] } at line 2 column 2: Unrecognized character inside mutation: U+0022 '"'

How " can be wrong?

TheTanadu
Автор

As for Dgraph itself, I still think it should have Cipher support

upevolutionism
visit shbcf.ru