Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike: Evaluate dgraph.io as an apache 2.0 alternative for back end store #94

Open
halcyondude opened this issue Aug 11, 2022 · 0 comments
Labels
brainstorm idea incubation, not always actionable. data Data Model, GraphQL help wanted Extra attention is needed spike

Comments

@halcyondude
Copy link
Collaborator

Given #4, #54 and present direction usage of GraphQL as the interface definition language for the landscape-graph project, we should explore DGraph.


CNCF Landscape: DGraph Labs

image

--

https://dgraph.io/docs/dgraph-overview/#dgraph-architecture

<snip>

Dgraph is a single layer in your tech stack, but inside the inner workings of a Dgraph database instance, there are three distinct entities:

  • Badger - Dgraph’s custom-built key-value store
  • Ristretto - Dgraph’s custom-built cache
  • Dgraph - the methods and algorithms used to parse DQL (and now GraphQL) and act accordingly

External to the core Dgraph database instance, you will find tools and communication clients to support Dgraph:

  • Ratel - a GUI Layer to work directly with DQL. (Ratel does not work with the graphql)
  • DQL Clients written in Go, C#, Java, JavaScript, and Python.
    </snip>

https://dgraph.io/docs/graphql/overview

<snip>

Welcome to the official GraphQL documentation for Dgraph.

Designed from the ground up to be run in production, Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast.

  • These docs tell you all the details. If you are looking for a walk through tutorial, then head over to our tutorials section.

Dgraph gives you GraphQL. You're always working with GraphQL, not a translation layer. When you build an app with Dgraph, Dgraph is your GraphQL database.

Exploring the docs

  • How it Works - Once you've got yourself started with tutorials, you might need to review how it works.
  • Schema - You'll need the schema reference to find out about all the options of what can be in your schema.
  • The API - The API section tells you about how the GraphQL API is served and how you can access it.
  • Queries - Everything you need to know about writing GraphQL queries.
  • Mutations - Everything you need to know about writing GraphQL mutations with Dgraph.
  • Subscriptions - GraphQL subscriptions help you make your APP more responsive or, for example, add live feeds. Dgraph can generate subscriptions for you.
  • Custom Logic - Dgraph's auto generated GraphQL API is fantastic, but as your app gets more complicated, you'll need to add custom business logic to your API.
  • Authorization - Find out how Dgraph can add automated authorization to your GraphQL API.
  • Local Administration - Once you're up and running you might also need to know a few details about administering your Dgraph instance if you are running locally.
  • Dgraph Cloud - If you are using hosted Dgraph on Dgraph Cloud, then head over here to learn about administering your backend.

<snip>

@halcyondude halcyondude added help wanted Extra attention is needed data Data Model, GraphQL spike brainstorm idea incubation, not always actionable. labels Aug 11, 2022
@halcyondude halcyondude moved this to Triage in landscape-graph Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorm idea incubation, not always actionable. data Data Model, GraphQL help wanted Extra attention is needed spike
Projects
Status: Triage
Development

No branches or pull requests

1 participant