[DISCUSS] Rethink JanusGrpah Schema Management

65 views
Skip to first unread message

Jan.J...@gdata.de

unread,
Apr 5, 2019, 10:41:39 AM4/5/19
to janusgr...@googlegroups.com

Hi

As a follow up to my talk last week, I would like to start a discussion on this topic about redesign the Schema Management.


General idea is to deprecated direct access to JanusGraph server using other things than a gremlin client/driver, such as the ManagementSystem or StandardJanusGraph.


Main advantage, we can change internally core components without having breaking changes in our front facing api.


I started to work on the first precondition to reduce the requirements to access a janusgraph instance using a java/groovy gremlin client/driver. PR: https://github.com/JanusGraph/janusgraph/pull/1521


Idea of an implementation order:

  1. Extract gremlin driver from JanusGraph core, so User only depend on small dependency to use JanusGraph with a gremlin client, like dot net or python GLVs.
  2. Make JanusGraph read only by using a tinkerpop strategy 
  3. Use a tinkerpop strategy to enforce the Schema
  4. Make the Schema accessible via gremlin


Any thoughts?


Greetings 

Jan


—— “We strongly encourage all users of JanusGraph to use the Gremlin query language for any queries executed on JanusGraph and to not use JanusGraph’s APIs outside of the management system.



Sent from my iPad

Ryan Stauffer

unread,
Apr 6, 2019, 1:01:13 PM4/6/19
to janusgr...@googlegroups.com
Jan,

I really like this overall approach and would love to lend a hand in making it happen.  I like the idea of streamlining both schema management and general user access to a JanusGraph instance - I think this makes things much more "explainable" to other developers who need to access the database.

Thanks,
Ryan


--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
To post to this group, send email to janusgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/39FD5214-025E-4E07-B548-27D62E4D2BB8%40gdata.de.
For more options, visit https://groups.google.com/d/optout.

Jan Jansen

unread,
Apr 11, 2019, 2:30:46 PM4/11/19
to JanusGraph developers
Ryan,

It would be cool to get some help. A good starting point would be make the graph readonly using a TinkerpopStrategy. This implemenation should be straight forward.
My current state on task 3 and 4 are in following branches:

Thanks for your offer.

Greetings
Jan

Ryan Stauffer

unread,
Apr 18, 2019, 9:47:37 AM4/18/19
to janusgr...@googlegroups.com
Circling back around on this.  I'm going to dig into those two branches/features over the next few days

Thanks,
Ryan


--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
To post to this group, send email to janusgr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages