<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dgraph on</title><link>https://www.ardanlabs.com/tags/dgraph/</link><description>Recent content in Dgraph on</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 26 Jun 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ardanlabs.com/tags/dgraph/index.xml" rel="self" type="application/rss+xml"/><item><title>Dgraph Database Semantics</title><link>https://www.ardanlabs.com/blog/2020/06/dgraph-database-semantics.html</link><pubDate>Fri, 26 Jun 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/06/dgraph-database-semantics.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In this &lt;a href="https://dgraph.io/paper"&gt;paper&lt;/a&gt; written by &lt;a href="https://twitter.com/manishrjain"&gt;Manish Jain&lt;/a&gt; (the founder of &lt;a href="https://dgraph.io/"&gt;Dgraph&lt;/a&gt;) he describes Dgraph as:&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;a distributed graph database which provides horizontal scalability, distributed cluster-wide ACID transactions, low-latency arbitrary-depth joins, synchronous replication, high availability, and crash resilience.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;There are many claims being stated here which frankly I didn’t understand the meaning of the first time I read this sentence. I decided I wanted to better understand these claims with the hope that it would help me understand Dgraph’s architecture and engineering decisions better.&lt;/p&gt;</description></item><item><title>Dgraph, GraphQL, Schemas, and CRUD</title><link>https://www.ardanlabs.com/blog/2020/05/dgraph-graphQL-schemas-crud.html</link><pubDate>Fri, 15 May 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/05/dgraph-graphQL-schemas-crud.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In most of the reviews for this post, I was asked why choose a &lt;a href="https://en.wikipedia.org/wiki/Graph_database"&gt;graph database&lt;/a&gt; over something else? This is a hard question to answer since my experience right now is limited on the graph database side. My guess is you’re wondering the same thing, so this is my best answer to date.&lt;/p&gt;&#10;&lt;p&gt;At this point in my career, I would only choose a &lt;a href="https://en.wikipedia.org/wiki/Relational_database"&gt;relational database&lt;/a&gt; if I was writing financial software. Relational databases are very rigid so you need to really make sure you understand your data upfront. Changing the database is a big effort, but the database when designed correctly will give you very high levels of integrity and you can get good performance. These databases are hard to distribute and scale so you tend to end up with single instances that are very large and require replication for backup. The cloud providers have relational databases today that are supposed to scale, but I have no experience with them.&lt;/p&gt;</description></item><item><title>Getting Started With Dgraph and GraphQL+-</title><link>https://www.ardanlabs.com/blog/2020/04/getting-started-with-dgraph-and-graphQL+-.html</link><pubDate>Thu, 16 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/04/getting-started-with-dgraph-and-graphQL+-.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;I have spent a career building business applications that work with databases, starting with SQL and then moving to No-SQL. I’ve been curious how &lt;a href="https://en.wikipedia.org/wiki/Graph_database"&gt;Graph databases&lt;/a&gt; work and how to build applications with them. It seems the sweet spot for a Graph database is when your application needs to model the interrelationships of complex and different datasets. I’ve been using No-SQL databases for these types of applications so I am super interested in knowing how Graph databases differ. After some research, I decided to learn &lt;a href="https://dgraph.io/"&gt;Dgraph&lt;/a&gt; and their modified version of &lt;a href="https://graphql.org/"&gt;GraphQL&lt;/a&gt; called &lt;a href="https://dgraph.io/docs/query-language/#graphql-fundamentals"&gt;GraphQL+-&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>