dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

Product Roadmap 2018

Open manishrjain opened this issue 8 years ago • 47 comments

Work In Progress

  • Support Open Cypher
  • Support Gremlin
  • [ ] Support GraphQL spec
  • [ ] Subscriptions
  • [ ] Stronger Type System
  • [ ] Backup
  • [x] Python Driver
  • [x] Simplify TLS setup
  • [ ] Authentication (full control)
  • [x] Jepsen test integration (http://jepsen.io/analyses/dgraph-1-0-2)

manishrjain avatar Jan 01 '18 10:01 manishrjain

The GraphQL spec also includes specs like Union and enum types @manishrjain ?

WolfDan avatar Jan 02 '18 02:01 WolfDan

Yeah, we'll try and support it as close to the spec as possible. I think GraphQL compatibility is needed by a lot of users.

manishrjain avatar Jan 02 '18 03:01 manishrjain

Would anyone need support for JDBC driver?

manishrjain avatar Jan 02 '18 03:01 manishrjain

With support for Cypher, Gremlin, and GraphQL as the first 3 items on the Roadmap (not sure if the roadmap is in order of priority), is the intention to simply appeal to a broader base of users who may already be familiar with one of them? Or is there a valid reason why a user would want to use all three (e.g. tradeoffs in performance, simplicity for certain types of queries, etc?)

smkhalsa avatar Jan 02 '18 08:01 smkhalsa

@manishrjain What's your vision for Subscriptions? Do you intend on implementing the GraphQL Subscription spec or provide full reactivity that could enable things like @live queries?

Any ideas on what the API will look like?

smkhalsa avatar Jan 02 '18 08:01 smkhalsa

Yeah, we'll try and support it as close to the spec as possible. I think GraphQL compatibility is needed by a lot of users.

That could be amazing! In my case I'm creating a Graphql api with Elixir, have the same schema in the app and the database can simplify the work a lot, I hope this get done soon :D

WolfDan avatar Jan 02 '18 14:01 WolfDan

Is SPARQL already supported?

akuckartz avatar Jan 02 '18 15:01 akuckartz

Great news! I'm really looking forward to Subscriptions. It would be a huge plus if dgraph could borrow some of the offline-first ideas from gun.js, extremely useful for PWAs.

sebastianmacias avatar Jan 02 '18 17:01 sebastianmacias

"Support GraphQL spec" - So, Will Dgraph have an optional "virtual" Schema type just for GraphQL? @manishrjain

MichelDiz avatar Jan 02 '18 23:01 MichelDiz

how about key cardinality? such as "Tom Hanks" has a predicate of type to multiple values "actor,director"

thetuxedo avatar Jan 04 '18 16:01 thetuxedo

@manishrjain Can you tell when approximately Open Cypher support is implemented?

rogerwaldvogel avatar Jan 16 '18 09:01 rogerwaldvogel

Graphcool Graphql IDE turns out to be opensource in november 2017. i believe that we could attach dgraph-js as a wrapper to graphcool IDE. Or Dgraph Team observe them as an example to create Dgraph support for GraphQL IDE like. https://youtu.be/WhYjSFKNhBA

See: https://github.com/graphcool https://github.com/graphcool/prisma https://github.com/graphcool/graphql-playground

Check it out!

MichelDiz avatar Jan 16 '18 18:01 MichelDiz

@MichelDiz - thank you for mentioning Graphcool :-)

GraphQL Playground is an open source replacement for GraphiQL and in no way specific to Graphcool or Prisma.

We'd be happy to jump on a call if anybody from Dgraph want an introduction or help integrating it. In the future we'll be adding a plugin system as well as support for custom styling that should make it easier to tie into Dgraph.

sorenbs avatar Feb 12 '18 00:02 sorenbs

@sorenbs Hey, I'm interested in the connector for Prisma. But I have no concept of programming with SCALA.

I think Prisma uses the prisma-binding, correct? If not, what are the principles for assembling a connector for the Prisma?

I think this would be enough to make Dgraph align with the graphcool tools.

MichelDiz avatar Feb 12 '18 16:02 MichelDiz

Any update on how the top 2 items are going (Cypher and Gremlin) now that it is March?

Textras avatar Mar 01 '18 22:03 Textras

We're a bit bogged down right now -- but expect to start the work on Cypher in early Q2.

manishrjain avatar Mar 04 '18 04:03 manishrjain

@manishrjain

Would anyone need support for JDBC driver?

We will need to extract tabular data out of dgraph for machine learning models. I assume JDBC would be the best way?

jimanvlad avatar Mar 06 '18 17:03 jimanvlad

It would be really nice to have scala driver in addition to others.

Do you have any plan to support subquery, i.e., something like image

chengyuliu-cs avatar Mar 06 '18 21:03 chengyuliu-cs

Dgraph supports sub-queries like these. We have the concept of query blocks. One query block's results can be used by another.

https://docs.dgraph.io/query-language/#multiple-query-blocks

manishrjain avatar Mar 06 '18 21:03 manishrjain

@manishrjain I knew query blocks. Probably I was using wrong term, maybe "subgraph query". Or I was totally wrong. I was asking in slack how to query "Find all users who have type "user" and who have "visited" places "from" more than N distinct cities* , for example, more than 2 cities.."

Pawan suggested a solution like this and commented that I should do one more step in my own application. It seems the filtering step is not supported by dgraph currently. If I can do one more filter ontop of this result, then I do not need to have my application do that. { query(func: eq(type, "user")){ uid type visited @groupby(from) { count(uid) } } }

Another non-supported function is that it is impossible to return or count other scalar values. The reason is that in my case, name is used as external ID (unique) that identifies my application item. So in the current situation, I have to make another query to get the "name" and combine the two results.

chengyuliu-cs avatar Mar 07 '18 07:03 chengyuliu-cs