Somebody asked me look into this one. Although I am now a database developer I never showed any interest in Graph databases. I thought Graph databases are very different from normal databases. The can only be used for things like maps or social network.
When I looked into DGraph I found that we can use it for general purpose database programming too. The schema declaration is nice. Its declaration format is better than relational databases. The GraphQL integration is very convenient. You frontend can directly talk with database with GraphQL. DGraph is also very performant compared to other Graph databases.
The horizontal scalability feature of DGraph is what sets it apart from other databases. Most databases are vertically scale-able. DGraph promises it to be horizontally scale-able. So that means DGraph as a backend makes sense cost wise and also performance wise.
One con is that we cannot write stored procedures with dgraph. So for companies that write business logic in stored procedures DGraph will not be useful. Although I found one DGraph demo showcasing a different approach for handling business logic.
No comments:
Post a Comment